Kaydet (Commit) ebcb781a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: class has virtual functions, but destructor is not virtual

üst 8aeeb8eb
...@@ -111,7 +111,7 @@ public: ...@@ -111,7 +111,7 @@ public:
typedef boost::shared_ptr< AbstractListDef > Pointer; typedef boost::shared_ptr< AbstractListDef > Pointer;
AbstractListDef( ); AbstractListDef( );
~AbstractListDef( ); virtual ~AbstractListDef( );
// Setters using during the import // Setters using during the import
void SetId( sal_Int32 nId ) { m_nId = nId; }; void SetId( sal_Int32 nId ) { m_nId = nId; };
...@@ -145,7 +145,7 @@ public: ...@@ -145,7 +145,7 @@ public:
typedef boost::shared_ptr< ListDef > Pointer; typedef boost::shared_ptr< ListDef > Pointer;
ListDef( ); ListDef( );
~ListDef( ); virtual ~ListDef( );
// Accessors // Accessors
void SetAbstractDefinition( AbstractListDef::Pointer pAbstract ) { m_pAbstractDef = pAbstract; }; void SetAbstractDefinition( AbstractListDef::Pointer pAbstract ) { m_pAbstractDef = pAbstract; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment