Kaydet (Commit) c0e58cdc authored tarafından Markus Mohrhard's avatar Markus Mohrhard

and two more errors of the same kind

It is alarming that the Notes unit test did not fail for any of these
errors
üst d3ebd834
...@@ -264,7 +264,7 @@ void ScTable::DeleteRow( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE ...@@ -264,7 +264,7 @@ void ScTable::DeleteRow( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE
ScPostIt* pPostIt = itr->second; ScPostIt* pPostIt = itr->second;
++itr; ++itr;
if (nCol >= nStartRow) if (nRow >= nStartRow)
{ {
aNotes.insert(nCol, nRow - nSize, pPostIt); aNotes.insert(nCol, nRow - nSize, pPostIt);
maNotes.ReleaseNote(nCol, nRow); maNotes.ReleaseNote(nCol, nRow);
...@@ -483,7 +483,7 @@ void ScTable::DeleteCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE ...@@ -483,7 +483,7 @@ void ScTable::DeleteCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE
ScPostIt* pPostIt = itr->second; ScPostIt* pPostIt = itr->second;
++itr; ++itr;
if (nCol >= nStartRow) if (nCol >= nStartCol)
{ {
aNotes.insert(nCol - nSize, nRow, pPostIt); aNotes.insert(nCol - nSize, nRow, pPostIt);
maNotes.ReleaseNote(nCol, nRow); maNotes.ReleaseNote(nCol, nRow);
......
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