summaryrefslogtreecommitdiff
path: root/svx/source/customshapes
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-08-03 14:24:10 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-08-03 15:35:55 +0200
commitb5b601b1a56891d46f126d4d1a561c201de7300b (patch)
tree62be9b7c79373b2dbd2dc6d18bcaf5295329d097 /svx/source/customshapes
parenta61b4c214b8acfcdddd2f5203184468e329bdb92 (diff)
Remove svx::Round; use FRound from tools instead
Change-Id: Idb8d16f59823d9065b82d6312def36601457af1a Reviewed-on: https://gerrit.libreoffice.org/58546 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/source/customshapes')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index ea6e526e6054..6c64f2e9de23 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -1150,9 +1150,9 @@ bool EnhancedCustomShape2d::GetHandlePosition( const sal_uInt32 nIndex, Point& r
double fY =-dx * sin( a );
rReturnPosition =
Point(
- svx::Round( fX + aReferencePoint.X() ),
+ FRound( fX + aReferencePoint.X() ),
basegfx::fTools::equalZero(fXScale) ? aReferencePoint.Y() :
- svx::Round( ( fY * fYScale ) / fXScale + aReferencePoint.Y() ) );
+ FRound( ( fY * fYScale ) / fXScale + aReferencePoint.Y() ) );
}
else
{