summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-23 17:18:32 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-23 17:27:48 +0100
commitac5b0cd66a0fa0158a8ec35b2853c18450d9965c (patch)
tree3d02ab4d80dc6e7c703cfc719745e2a45adf162d
parent356cb10f7e61b4db240bf869c5bf8d34d5f73ccb (diff)
this should be IDF_NOTE
Change-Id: Id460ed774b4ccedd5e72ba41756fc7c78f8c2313
-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 98a0fdd41f0d..ea7f03986f75 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -994,7 +994,7 @@ void ScTable::CopyToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
return;
//remove old notes
- if (nFlags & IDF_CONTENTS)
+ if (nFlags & IDF_NOTE)
pDestTab->maNotes.erase(nCol1, nRow1, nCol2, nRow2);
bool bAddNotes = nFlags & (IDF_NOTE | IDF_ADDNOTES);