summaryrefslogtreecommitdiff
path: root/sw/source/ui/table/swtablerep.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/table/swtablerep.cxx')
-rw-r--r--sw/source/ui/table/swtablerep.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/table/swtablerep.cxx b/sw/source/ui/table/swtablerep.cxx
index 88d86a8447fb..578dd6d41306 100644
--- a/sw/source/ui/table/swtablerep.cxx
+++ b/sw/source/ui/table/swtablerep.cxx
@@ -173,10 +173,10 @@ sal_Bool SwTableRep::FillTabCols( SwTabCols& rTabCols ) const
}
// intercept rounding errors
- if(Abs((long)nOldLeft - (long)rTabCols.GetLeft()) < 3)
+ if(std::abs((long)nOldLeft - (long)rTabCols.GetLeft()) < 3)
rTabCols.SetLeft(nOldLeft);
- if(Abs((long)nOldRight - (long)rTabCols.GetRight()) < 3)
+ if(std::abs((long)nOldRight - (long)rTabCols.GetRight()) < 3)
rTabCols.SetRight(nOldRight);
if(GetRightSpace() >= 0 &&