diff options
Diffstat (limited to 'sc/source/ui/drawfunc/fusel2.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/fusel2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/drawfunc/fusel2.cxx b/sc/source/ui/drawfunc/fusel2.cxx index 12024f29da62..cd84fbca9b93 100644 --- a/sc/source/ui/drawfunc/fusel2.cxx +++ b/sc/source/ui/drawfunc/fusel2.cxx @@ -32,11 +32,11 @@ #include <drawview.hxx> #include <svx/sdrhittesthelper.hxx> -static long Diff( const Point& rP1, const Point& rP2 ) +static tools::Long Diff( const Point& rP1, const Point& rP2 ) { - long nX = rP1.X() - rP2.X(); + tools::Long nX = rP1.X() - rP2.X(); if (nX<0) nX = -nX; - long nY = rP1.Y() - rP2.Y(); + tools::Long nY = rP1.Y() - rP2.Y(); if (nY<0) nY = -nY; return nX+nY; } |