summaryrefslogtreecommitdiff
path: root/sc/inc/postit.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-02 01:59:01 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-02 02:00:28 +0100
commit921fb226d2836673c1d3ef0f254708a5c5c0b313 (patch)
tree066414fdb4b1a83a4231bc19889d00a32daf3206 /sc/inc/postit.hxx
parent1d1141cd06fcdbadd008744a28674d4b50457923 (diff)
fix crashs in undo/redo realted to note captions
Diffstat (limited to 'sc/inc/postit.hxx')
-rw-r--r--sc/inc/postit.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx
index 16746d6b2838..1b370ceacb32 100644
--- a/sc/inc/postit.hxx
+++ b/sc/inc/postit.hxx
@@ -297,7 +297,7 @@ public:
bool insert( SCCOL nCol, SCROW nRow, ScPostIt* );
bool insert( const ScAddress& rPos, ScPostIt* );
- void erase(SCCOL, SCROW);
+ void erase(SCCOL, SCROW, bool bForgetCaption = false);
void erase(const ScAddress& rPos);
/** Returns and forgets the cell note object at the passed cell address. */
@@ -311,7 +311,7 @@ public:
ScNotes* clone(ScDocument* pDoc, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bCloneNoteCaption, SCTAB nTab);
void CopyFromClip(const ScNotes& maNotes, ScDocument* pDoc, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCsCOL nDx, SCsROW nDy, SCTAB nTab, bool bCloneCaption);
- void erase(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2);
+ void erase(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bForgetCaption = false);
};