summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-04-16 23:10:45 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-04-17 03:56:59 +0200
commitea9904c89608d561f6bde3379408208bbb24fe35 (patch)
tree4648cbc73b7a48ea3361f51280a9713be38f0afd /slideshow
parent0957ee9f5d379c80fca4027c187b471118d0490d (diff)
Drop FRound, and use generalized basegfx::fround
Change-Id: I7447e649dc3ef4e51242f69c7486a3e84e103d2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166159 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/drawinglayeranimation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.cxx b/slideshow/source/engine/shapes/drawinglayeranimation.cxx
index d0d3acb66369..ea765eea9649 100644
--- a/slideshow/source/engine/shapes/drawinglayeranimation.cxx
+++ b/slideshow/source/engine/shapes/drawinglayeranimation.cxx
@@ -422,7 +422,7 @@ void ActivityImpl::ImpForceScrollTextAnimNodes()
const double fNumberSteps =
(fRelativeDistance * fDistanceLogic) / GetStepWidthLogic();
- nLoopTime = FRound(fNumberSteps * mnFrequency);
+ nLoopTime = basegfx::fround<sal_uInt32>(fNumberSteps * mnFrequency);
// init loop
ScrollTextAnimNode aInitNode(
@@ -451,7 +451,7 @@ void ActivityImpl::ImpForceScrollTextAnimNodes()
const double fNumberSteps =
(fRelativeDistance * fDistanceLogic) / GetStepWidthLogic();
- nLoopTime = FRound(fNumberSteps * mnFrequency);
+ nLoopTime = basegfx::fround<sal_uInt32>(fNumberSteps * mnFrequency);
if(0 == mnRepeat)
{
@@ -501,7 +501,7 @@ void ActivityImpl::ImpForceScrollTextAnimNodes()
const double fNumberSteps =
(fRelativeDistance * fDistanceLogic) / GetStepWidthLogic();
- nLoopTime = FRound(fNumberSteps * mnFrequency);
+ nLoopTime = basegfx::fround<sal_uInt32>(fNumberSteps * mnFrequency);
// exit loop
ScrollTextAnimNode aExitNode(