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

use the correct flag to remove notes

Change-Id: Ib7713cace98c732e9fbcc4e9689ca223544d5e4c
üst 381fe610
...@@ -740,7 +740,7 @@ void ScTable::CopyFromClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ...@@ -740,7 +740,7 @@ void ScTable::CopyFromClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
aCol[i].CopyFromClip(nRow1, nRow2, nDy, nInsFlag, bAsLink, bSkipAttrForEmpty, pTable->aCol[i - nDx]); aCol[i].CopyFromClip(nRow1, nRow2, nDy, nInsFlag, bAsLink, bSkipAttrForEmpty, pTable->aCol[i - nDx]);
//remove old notes //remove old notes
if (nInsFlag & IDF_CONTENTS) if (nInsFlag & (IDF_NOTE|IDF_ADDNOTES))
maNotes.erase(nCol1, nRow1, nCol2, nRow2); maNotes.erase(nCol1, nRow1, nCol2, nRow2);
bool bAddNotes = nInsFlag & (IDF_NOTE | IDF_ADDNOTES); bool bAddNotes = nInsFlag & (IDF_NOTE | IDF_ADDNOTES);
......
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