diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-10 15:52:21 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-09-10 15:56:45 +0200 |
commit | 44f34c1163882c2e3086282374fee9cd55ee211f (patch) | |
tree | ea42ae2bc3bb86d704b5b9f846ea1e55b49e5384 /sc/inc/column.hxx | |
parent | bb71e3a40067e4ef6c6879e6d26ad20f728dd822 (diff) |
Resolves: tdf#92995 do not delete caption objects that are held by Undo
Drag&Drop Undo is a special case of ownership..
Change-Id: I2fe7769c4d84efe09d432335d5d8e72d506bf7a1
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r-- | sc/inc/column.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 9d073ef0f4bc..978b3713bebd 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -584,7 +584,7 @@ public: ScPostIt* GetCellNote( SCROW nRow ); const ScPostIt* GetCellNote( SCROW nRow ) const; const ScPostIt* GetCellNote( sc::ColumnBlockConstPosition& rBlockPos, SCROW nRow ) const; - void DeleteCellNotes( sc::ColumnBlockPosition& rBlockPos, SCROW nRow1, SCROW nRow2 ); + void DeleteCellNotes( sc::ColumnBlockPosition& rBlockPos, SCROW nRow1, SCROW nRow2, bool bForgetCaptionOwnership ); bool HasCellNotes() const; void SetCellNote( SCROW nRow, ScPostIt* pNote); bool IsNotesEmptyBlock(SCROW nStartRow, SCROW nEndRow) const; |