Kaydet (Commit) 0e40e1e3 authored tarafından Eike Rathke's avatar Eike Rathke

silence -Werror=strict-overflow

error: assuming signed overflow does not occur when assuming that
(X + c) < X is always false [-Werror=strict-overflow]
     if ( rAddress.Row() < Row() )

Change-Id: Ia643491657680fffcaacae4a474af479b9a07e35
üst 576c7562
......@@ -1588,7 +1588,7 @@ void Test::testFormulaRefUpdateRange()
// Insert 2 rows in the middle to shift bottom reference down and make it
// sticky.
m_pDoc->InsertRow( ScRange( aPos, ScAddress(MAXCOL,aPos.Row()+1,1)));
m_pDoc->InsertRow( ScRange( 0, aPos.Row(), 1, MAXCOL, aPos.Row()+1, 1));
// A3:A18 must not result in #REF! anywhere.
bool bCheck = true;
......@@ -1685,9 +1685,9 @@ void Test::testFormulaRefUpdateRange()
aPos.IncRow();
// Insert 4 rows in the middle.
m_pDoc->InsertRow( ScRange( aPos, ScAddress(MAXCOL,aPos.Row()+3,1)));
m_pDoc->InsertRow( ScRange( 0, aPos.Row(), 1, MAXCOL, aPos.Row()+3, 1));
// Delete 2 rows in the middle.
m_pDoc->DeleteRow( ScRange( aPos, ScAddress(MAXCOL,aPos.Row()+1,1)));
m_pDoc->DeleteRow( ScRange( 0, aPos.Row(), 1, MAXCOL, aPos.Row()+1, 1));
// References in A2:A17 must still be the same.
bCheck = true;
......
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