summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls/zoomsliderctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/stbctrls/zoomsliderctrl.cxx')
-rw-r--r--svx/source/stbctrls/zoomsliderctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx
index 18c33eaf92fa..94e2777fdf59 100644
--- a/svx/source/stbctrls/zoomsliderctrl.cxx
+++ b/svx/source/stbctrls/zoomsliderctrl.cxx
@@ -99,7 +99,7 @@ sal_uInt16 SvxZoomSliderControl::Offset2Zoom( long nOffset ) const
++aSnappingPointIter )
{
const long nCurrent = *aSnappingPointIter;
- if ( Abs(nCurrent - nOffset) < nSnappingEpsilon )
+ if ( std::abs(nCurrent - nOffset) < nSnappingEpsilon )
{
nOffset = nCurrent;
nRet = mpImpl->maSnappingPointZooms[ nCount ];