From b5b601b1a56891d46f126d4d1a561c201de7300b Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 3 Aug 2018 14:24:10 +0300 Subject: 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 --- svx/source/customshapes/EnhancedCustomShape2d.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source/customshapes') 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 { -- cgit