summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/table/swnewtable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/table/swnewtable.cxx b/sw/source/core/table/swnewtable.cxx
index 0186a22448a5..b74132f8a67d 100644
--- a/sw/source/core/table/swnewtable.cxx
+++ b/sw/source/core/table/swnewtable.cxx
@@ -205,7 +205,7 @@ static SwTableBox* lcl_LeftBorder2Box( long nLeft, const SwTableLine* pLine )
// HACK: It appears that rounding errors may result in positions not matching
// exactly, so allow a little tolerance. This happens at least with merged cells
// in the doc from fdo#38414 .
- if( abs( nCurrLeft - nLeft ) <= ( nLeft / 1000 ))
+ if( std::abs( nCurrLeft - nLeft ) <= ( nLeft / 1000 ))
return pBox;
if( nCurrLeft >= nLeft )
{