summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-07 16:10:01 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-07 16:10:01 +0300
commitebcb781ab08019812088ea73ea90373bd61ff048 (patch)
treea3a287641dc24dd72ed6c5d2bfbddf04aab2edda /writerfilter
parent8aeeb8eb06640ed454ba8aa660964368b977568e (diff)
WaE: class has virtual functions, but destructor is not virtual
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/NumberingManager.hxx4
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; };