summaryrefslogtreecommitdiff
path: root/sc/source/core/data/colorscale.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-27 00:36:32 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-27 21:58:28 +0200
commit87fa01674b1418c060b20a7f5af1d0d6eebe99cd (patch)
treee98379f8af7ab574057f4bf7335e1c7864950ea6 /sc/source/core/data/colorscale.cxx
parent7bc21cfd16b4289dd072fa82f4d38ddb1498ed2d (diff)
clear the lists with listened cells after we stop listening
Change-Id: I4bc21ff9085c0033f3ee16b7e22a73091d57c7a9 Reviewed-on: https://gerrit.libreoffice.org/39315 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/core/data/colorscale.cxx')
-rw-r--r--sc/source/core/data/colorscale.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index 916143664b81..25a029024e28 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -127,6 +127,7 @@ void ScFormulaListener::stopListening()
return;
std::for_each(maCells.begin(), maCells.end(), StopListeningCell(mpDoc, this));
+ maCells.clear();
}
ScFormulaListener::~ScFormulaListener()