[Libreoffice-commits] .: writerfilter/source
Tor Lillqvist
tml at kemper.freedesktop.org
Fri Oct 7 06:19:18 PDT 2011
writerfilter/source/dmapper/NumberingManager.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ebcb781ab08019812088ea73ea90373bd61ff048
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Fri Oct 7 16:10:01 2011 +0300
WaE: class has virtual functions, but destructor is not virtual
diff --git a/writerfilter/source/dmapper/NumberingManager.hxx b/writerfilter/source/dmapper/NumberingManager.hxx
index d001805..e2953fb 100644
--- a/writerfilter/source/dmapper/NumberingManager.hxx
+++ b/writerfilter/source/dmapper/NumberingManager.hxx
@@ -111,7 +111,7 @@ public:
typedef boost::shared_ptr< AbstractListDef > Pointer;
AbstractListDef( );
- ~AbstractListDef( );
+ virtual ~AbstractListDef( );
// Setters using during the import
void SetId( sal_Int32 nId ) { m_nId = nId; };
@@ -145,7 +145,7 @@ public:
typedef boost::shared_ptr< ListDef > Pointer;
ListDef( );
- ~ListDef( );
+ virtual ~ListDef( );
// Accessors
void SetAbstractDefinition( AbstractListDef::Pointer pAbstract ) { m_pAbstractDef = pAbstract; };
More information about the Libreoffice-commits
mailing list