summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-02-06 13:00:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-02-06 13:03:09 +0100
commit225e2a3cec2546d5d41fec21a4219c9a2f5ddf76 (patch)
tree3557e302c178b394129a4758d43b556fead93907 /sc
parent0d65937eefd8fbd8f8d08571266f1dcd5c10c6c4 (diff)
mpColumn can already be dead in ~FormulaGroupAreaListener
...when the loop in ScColumnContainer::Clear deletes the referenced column before deleting another column triggers a call to ~FormulaGroupAreaListener, as reported by ASan during CppunitTest_sc_ucalc. Change-Id: Ib3daaf842b2793957cacc6318a27cbc6ab0d1d69
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/grouparealistener.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/core/tool/grouparealistener.cxx b/sc/source/core/tool/grouparealistener.cxx
index ac8dd422982c..e4e62aa902b0 100644
--- a/sc/source/core/tool/grouparealistener.cxx
+++ b/sc/source/core/tool/grouparealistener.cxx
@@ -94,10 +94,7 @@ FormulaGroupAreaListener::FormulaGroupAreaListener( const ScRange& rRange, const
FormulaGroupAreaListener::~FormulaGroupAreaListener()
{
SAL_INFO( "sc.core.grouparealistener",
- "FormulaGroupAreaListener dtor this " << this <<
- " range " << (maRange == BCA_LISTEN_ALWAYS ? "LISTEN-ALWAYS" : maRange.Format(SCA_VALID)) <<
- " mnTopCellRow " << mnTopCellRow << " length " << mnGroupLen <<
- ", col/tab " << mpColumn->GetCol() << "/" << mpColumn->GetTab());
+ "FormulaGroupAreaListener dtor this " << this);
}
ScRange FormulaGroupAreaListener::getListeningRange() const