From 0f200cc30ea75fdce59f7bb6ae87ebc85729e2a4 Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Thu, 11 Apr 2013 00:21:40 -0300 Subject: fdo#63154: Change Min/Max/Abs for std::min/max/abs Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon Tested-by: David Tardon --- svtools/source/control/scrwin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools/source/control/scrwin.cxx') diff --git a/svtools/source/control/scrwin.cxx b/svtools/source/control/scrwin.cxx index b20343f04ff9..c66a31eba5f6 100644 --- a/svtools/source/control/scrwin.cxx +++ b/svtools/source/control/scrwin.cxx @@ -358,8 +358,8 @@ void ScrollableWindow::Scroll( long nDeltaX, long nDeltaY, sal_uInt16 ) Update(); // does the new area overlap the old one? - if ( Abs( (int)aDeltaPix.Height() ) < aOutPixSz.Height() || - Abs( (int)aDeltaPix.Width() ) < aOutPixSz.Width() ) + if ( std::abs( (int)aDeltaPix.Height() ) < aOutPixSz.Height() || + std::abs( (int)aDeltaPix.Width() ) < aOutPixSz.Width() ) { // scroll the overlapping area SetMapMode( aMap ); -- cgit v1.2.3