summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8graf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8graf.cxx')
-rw-r--r--sw/source/filter/ww8/ww8graf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx
index 88d3ed530530..e27f56954617 100644
--- a/sw/source/filter/ww8/ww8graf.cxx
+++ b/sw/source/filter/ww8/ww8graf.cxx
@@ -1730,8 +1730,8 @@ void SwWW8ImplReader::MatchSdrItemsIntoFlySet( SdrObject* pSdrObj,
aShadow.SetColor( Color( aShdColor ) );
- aShadow.SetWidth(writer_cast<sal_uInt16>((Abs( nShdDistX) +
- Abs( nShdDistY )) / 2 ));
+ aShadow.SetWidth(writer_cast<sal_uInt16>((std::abs( nShdDistX) +
+ std::abs( nShdDistY )) / 2 ));
SvxShadowLocation eShdPosi;
if( 0 <= nShdDistX )