summaryrefslogtreecommitdiff
path: root/sc/source/core/data/column3.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-08 07:43:14 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-12-08 07:47:54 +0100
commitb45e1b58700c8303596a0aac9705d8c1577903b3 (patch)
tree2eaf3e69eb203ca7c73c4dfa733c871b68ba2f6c /sc/source/core/data/column3.cxx
parent235f3cbc1810e1dd004665585b5cfca1b856c784 (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
Diffstat (limited to 'sc/source/core/data/column3.cxx')
-rw-r--r--sc/source/core/data/column3.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 4ddbabcc6842..44e35856dd21 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -141,6 +141,12 @@ void ScColumn::FreeAll()
CellStorageModified();
}
+void ScColumn::FreeNotes()
+{
+ maCellNotes.clear();
+ maCellNotes.resize(MAXROWCOUNT);
+}
+
namespace {
class ShiftFormulaPosHandler