diff options
author | David Tardon <dtardon@redhat.com> | 2012-01-15 16:27:46 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-15 20:27:18 +0100 |
commit | c5e06d33401cabaddee674667bc068308d620ea5 (patch) | |
tree | 5506d3988e346a5f5c2a3d7d8386d8cf516914a6 /sfx2/source | |
parent | e18a7b0e3846b940a7d6facfd9abc9d3fd355d94 (diff) |
WaE: deleting object of abstract class type with non-virtual destructor
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/appdata.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/appl/appdata.cxx b/sfx2/source/appl/appdata.cxx index 15fb2359895b..07a0c0947e1f 100644 --- a/sfx2/source/appl/appdata.cxx +++ b/sfx2/source/appl/appdata.cxx @@ -73,9 +73,15 @@ private: public: SfxBasicManagerCreationListener( SfxAppData_Impl& _rAppData ) :m_rAppData( _rAppData ) { } + virtual ~SfxBasicManagerCreationListener(); + virtual void onBasicManagerCreated( const Reference< XModel >& _rxForDocument, BasicManager& _rBasicManager ); }; +SfxBasicManagerCreationListener::~SfxBasicManagerCreationListener() +{ +} + void SfxBasicManagerCreationListener::onBasicManagerCreated( const Reference< XModel >& _rxForDocument, BasicManager& _rBasicManager ) { if ( _rxForDocument == NULL ) |