summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/css1atr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/css1atr.cxx')
-rw-r--r--sw/source/filter/html/css1atr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 05c1f84ac398..80b46e2eed00 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -1805,8 +1805,8 @@ static Writer& OutCSS1_SwPageDesc( Writer& rWrt, const SwPageDesc& rPageDesc,
// Seiten-Dialog war und ihn mit OK verlassen hat, bekommt man eine
// neue Seitengroesse, die dann hier exportiert wuerde. Um das
// vermeiden erlauben wir hier kleine Abweichungen.
- if( Abs( rSz.Width() - aRefSz.Width() ) <= 2 &&
- Abs( rSz.Height() - aRefSz.Height() ) <= 2 )
+ if( std::abs( rSz.Width() - aRefSz.Width() ) <= 2 &&
+ std::abs( rSz.Height() - aRefSz.Height() ) <= 2 )
{
if( bRefLandscape != rPageDesc.GetLandscape() )
{