Kaydet (Commit) 75122338 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

libstdc++ abs vs std::abs confusion (-Werror,-Wabsolute-value)

Change-Id: I55fdcdfb25a2d6456eff044eb4af8fa00905d6e8
üst d3bc04b7
......@@ -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 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment