summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-08 07:43:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-12-09 09:15:37 +0000
commit8efdd9909cc46b4a00236f148f2f5c8349377c33 (patch)
tree1bb04ad4156ff3072a1384e861df19e3897e1a0e /sc/inc
parent90452b4eb40086b98ad21a19b154c404251c08e6 (diff)
we need the SdrPage for deleting the notes, fdo#86166
The SdrPage that contains the shapes for the note captions is deleted before the notes. Prevent that case by deleting the notes before deleting the SdrPage. Change-Id: I13727cea7df0b033fb386a6a8e20dcadec743335 Reviewed-on: https://gerrit.libreoffice.org/13362 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/column.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 6911ca0e34ff..dee712f0ede0 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -187,6 +187,7 @@ public:
void Delete( SCROW nRow );
void FreeAll();
+ void FreeNotes();
void Swap( ScColumn& rOther, SCROW nRow1, SCROW nRow2, bool bPattern );
bool HasAttrib( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const;