summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-19 09:21:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-19 09:21:58 +0100
commit75122338eba5515786198b734d43577d727e3c67 (patch)
tree1e4f23e73b79660025b0a512573618674573300d /sw
parentd3bc04b780829902d2f68c743410ae599d144e8b (diff)
libstdc++ abs vs std::abs confusion (-Werror,-Wabsolute-value)
Change-Id: I55fdcdfb25a2d6456eff044eb4af8fa00905d6e8
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 )
{