[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Sat Feb 6 12:03:31 UTC 2016
sc/source/core/tool/grouparealistener.cxx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 225e2a3cec2546d5d41fec21a4219c9a2f5ddf76
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sat Feb 6 13:00:16 2016 +0100
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
diff --git a/sc/source/core/tool/grouparealistener.cxx b/sc/source/core/tool/grouparealistener.cxx
index ac8dd42..e4e62aa 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
More information about the Libreoffice-commits
mailing list