From 0fafb53d1c860388461f30e613a37c128c90ad79 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 28 Jan 2015 13:47:39 +0100 Subject: let have FormulaGroupAreaListener a virtual dtor Change-Id: I1f5e246d68971124ef21e9c2d0db80499928998b --- sc/inc/grouparealistener.hxx | 2 ++ sc/source/core/tool/grouparealistener.cxx | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'sc') diff --git a/sc/inc/grouparealistener.hxx b/sc/inc/grouparealistener.hxx index feb10df0fb63..da3481d3a183 100644 --- a/sc/inc/grouparealistener.hxx +++ b/sc/inc/grouparealistener.hxx @@ -36,6 +36,8 @@ public: FormulaGroupAreaListener( const ScRange& rRange, ScFormulaCell** ppTopCell, SCROW nGroupLen, bool bStartFixed, bool bEndFixed ); + virtual ~FormulaGroupAreaListener(); + ScRange getListeningRange() const; virtual void Notify( const SfxHint& rHint ) SAL_OVERRIDE; diff --git a/sc/source/core/tool/grouparealistener.cxx b/sc/source/core/tool/grouparealistener.cxx index 224973238907..e7b71d7994c4 100644 --- a/sc/source/core/tool/grouparealistener.cxx +++ b/sc/source/core/tool/grouparealistener.cxx @@ -80,6 +80,10 @@ FormulaGroupAreaListener::FormulaGroupAreaListener( assert(mppTopCell); // This can't be NULL. } +FormulaGroupAreaListener::~FormulaGroupAreaListener() +{ +} + ScRange FormulaGroupAreaListener::getListeningRange() const { ScRange aRet = maRange; -- cgit