summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-05 01:53:43 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-05 01:53:43 +0100
commit569e8b8a9ea68588d1ae2b32596f3ce57f36ccf8 (patch)
treece2f2ecc55cb92cd0245e656f0bce701baaa805d
parentbbb80dfbfff998b55c665daf366499fdbd6605d0 (diff)
fix copy/paste error
I can't express how dumb I feel after searching for hours for a bug in the note handling and then it is just such a small copy/paste error
-rw-r--r--sc/source/core/data/table2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 69021ce4fc5f..4aa6dbed9fb6 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -374,7 +374,7 @@ void ScTable::InsertCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE
ScPostIt* pPostIt = itr->second;
++itr;
- if (nCol >= nStartRow)
+ if (nCol >= nStartCol)
{
aNotes.insert(nCol + nSize, nRow, pPostIt);
maNotes.ReleaseNote(nCol, nRow);