Kaydet (Commit) f6b9a2f4 authored tarafından Caolán McNamara's avatar Caolán McNamara

unit test crash: this must be the intended code

üst 8ed5e3bd
...@@ -1147,7 +1147,7 @@ bool ScDocument::InsertRow( SCCOL nStartCol, SCTAB nStartTab, ...@@ -1147,7 +1147,7 @@ bool ScDocument::InsertRow( SCCOL nStartCol, SCTAB nStartTab,
// UpdateRef for drawing layer must be after inserting, // UpdateRef for drawing layer must be after inserting,
// when the new row heights are known. // when the new row heights are known.
for (i=nStartTab; i<=nEndTab && static_cast<SCTAB>(maTabs.size()); i++) for (i=nStartTab; i<=nEndTab && i < static_cast<SCTAB>(maTabs.size()); i++)
if (maTabs[i] && (!pTabMark || pTabMark->GetTableSelect(i))) if (maTabs[i] && (!pTabMark || pTabMark->GetTableSelect(i)))
maTabs[i]->UpdateDrawRef( URM_INSDEL, maTabs[i]->UpdateDrawRef( URM_INSDEL,
nStartCol, nStartRow, nStartTab, nEndCol, MAXROW, nEndTab, nStartCol, nStartRow, nStartTab, nEndCol, MAXROW, nEndTab,
......
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