diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-10 08:37:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-11 07:52:27 +0200 |
commit | ab5805c34af1ad45a2ee8983b0e451704ab33c09 (patch) | |
tree | 4ae4421df105a676401a289f5564f2705bf776f8 /sfx2 | |
parent | 27d5fd27cbf4ed91bafb4f051a418494506ea6f6 (diff) |
loplugin:virtualdown in SfxModelSubComponent
Change-Id: Ied6f58301a648404c988184b67e1acb3fa1133de
Reviewed-on: https://gerrit.libreoffice.org/73766
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/inc/docundomanager.hxx | 6 |
2 files changed, 1 insertions, 10 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 4caf74eb15c6..4d1833e31d11 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -4447,9 +4447,4 @@ SfxModelSubComponent::~SfxModelSubComponent() { } -void SfxModelSubComponent::disposing() -{ - // nothing to do here -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/inc/docundomanager.hxx b/sfx2/source/inc/docundomanager.hxx index ab713c1d50e2..ce38680e264f 100644 --- a/sfx2/source/inc/docundomanager.hxx +++ b/sfx2/source/inc/docundomanager.hxx @@ -41,9 +41,6 @@ public: m_rModel.MethodEntryCheck( true ); } - // called when the SfxBaseModel which the component is superordinate of is being disposed - virtual void disposing(); - protected: SfxModelSubComponent( SfxBaseModel& i_model ) :m_rModel( i_model ) @@ -109,8 +106,7 @@ namespace sfx2 DocumentUndoManager(const DocumentUndoManager&) = delete; DocumentUndoManager& operator=(const DocumentUndoManager&) = delete; - // SfxModelSubComponent overridables - virtual void disposing() override; + void disposing(); // non-UNO API for our owner /** determines whether we have an open Undo context. No mutex locking within this method, no disposal check - this |