diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-07 16:10:01 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-07 16:10:01 +0300 |
commit | ebcb781ab08019812088ea73ea90373bd61ff048 (patch) | |
tree | a3a287641dc24dd72ed6c5d2bfbddf04aab2edda | |
parent | 8aeeb8eb06640ed454ba8aa660964368b977568e (diff) |
WaE: class has virtual functions, but destructor is not virtual
-rw-r--r-- | writerfilter/source/dmapper/NumberingManager.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/NumberingManager.hxx b/writerfilter/source/dmapper/NumberingManager.hxx index d001805f4333..e2953fb67dad 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; }; |