diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-22 10:04:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-28 12:56:17 +0000 |
commit | 8a22bc93e0988188a87c0a787a9b32a7f74da84d (patch) | |
tree | 5b0c9bd79ee88be0754687fe552729e8470f5db2 /sw/source/uibase/inc | |
parent | 99fbcffa3d85c00770977e205626493ec2be1883 (diff) |
update unnecessaryoverride plugin to find pure forwarding methods
which can be replaced with using declarations.
Is there a more efficient way to code the search? Seems to slow the
build down a little.
Change-Id: I08cda21fa70dce6572e1acc71bf5e6df36bb951f
Reviewed-on: https://gerrit.libreoffice.org/30157
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r-- | sw/source/uibase/inc/mailmergewizard.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/usrpref.hxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/inc/mailmergewizard.hxx b/sw/source/uibase/inc/mailmergewizard.hxx index f1b61c765643..567f989684dc 100644 --- a/sw/source/uibase/inc/mailmergewizard.hxx +++ b/sw/source/uibase/inc/mailmergewizard.hxx @@ -80,7 +80,7 @@ public: bool skipUntil( sal_uInt16 nPage) {return ::svt::RoadmapWizard::skipUntil(WizardState(nPage));} - void updateRoadmapItemLabel( WizardState _nState ); + using svt::RoadmapWizard::updateRoadmapItemLabel; virtual short Execute() override; }; diff --git a/sw/source/uibase/inc/usrpref.hxx b/sw/source/uibase/inc/usrpref.hxx index b43cf673a12a..8e40de357cce 100644 --- a/sw/source/uibase/inc/usrpref.hxx +++ b/sw/source/uibase/inc/usrpref.hxx @@ -44,7 +44,7 @@ public: virtual void Notify( const css::uno::Sequence< OUString > &rPropertyNames ) override; void Load(); - void SetModified(){ConfigItem::SetModified();} + using ConfigItem::SetModified; }; class SwLayoutViewConfig : public utl::ConfigItem @@ -63,7 +63,7 @@ public: virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override; void Load(); - void SetModified(){ConfigItem::SetModified();} + using ConfigItem::SetModified; }; class SwGridConfig : public utl::ConfigItem @@ -81,7 +81,7 @@ public: virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override; void Load(); - void SetModified(){ConfigItem::SetModified();} + using ConfigItem::SetModified; }; class SwCursorConfig : public utl::ConfigItem @@ -99,7 +99,7 @@ public: virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override; void Load(); - void SetModified(){ConfigItem::SetModified();} + using ConfigItem::SetModified; }; class SwWebColorConfig : public utl::ConfigItem @@ -116,7 +116,7 @@ public: virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override; void Load(); - void SetModified(){ConfigItem::SetModified();} + using ConfigItem::SetModified; }; class SwMasterUsrPref : public SwViewOption |