summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-22 10:04:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-28 12:56:17 +0000
commit8a22bc93e0988188a87c0a787a9b32a7f74da84d (patch)
tree5b0c9bd79ee88be0754687fe552729e8470f5db2 /svtools
parent99fbcffa3d85c00770977e205626493ec2be1883 (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 'svtools')
-rw-r--r--svtools/source/config/colorcfg.cxx4
-rw-r--r--svtools/source/config/extcolorcfg.cxx4
-rw-r--r--svtools/source/contnr/simptabl.cxx5
-rw-r--r--svtools/source/uno/wizard/wizardshell.hxx4
4 files changed, 6 insertions, 11 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 12dda23476ab..5546f90499bb 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -92,8 +92,8 @@ public:
void AddScheme(const OUString& rNode);
void RemoveScheme(const OUString& rNode);
- void SetModified(){ConfigItem::SetModified();}
- void ClearModified(){ConfigItem::ClearModified();}
+ using ConfigItem::SetModified;
+ using ConfigItem::ClearModified;
void SettingsChanged();
bool GetAutoDetectSystemHC() {return m_bAutoDetectSystemHC;}
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index 3fd760171bc1..cdf060cb2def 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -119,8 +119,8 @@ public:
void AddScheme(const OUString& rNode);
void RemoveScheme(const OUString& rNode);
- void SetModified(){ConfigItem::SetModified();}
- void ClearModified(){ConfigItem::ClearModified();}
+ using ConfigItem::SetModified;
+ using ConfigItem::ClearModified;
void SettingsChanged();
static void DisableBroadcast();
diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx
index 966596f6e218..95725e692df1 100644
--- a/svtools/source/contnr/simptabl.cxx
+++ b/svtools/source/contnr/simptabl.cxx
@@ -192,11 +192,6 @@ void SvSimpleTable::SetTabs()
}
}
-void SvSimpleTable::SetTabs(const long* pTabs, MapUnit eMapUnit)
-{
- SvHeaderTabListBox::SetTabs(pTabs,eMapUnit);
-}
-
void SvSimpleTable::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
{
SvHeaderTabListBox::Paint(rRenderContext, rRect);
diff --git a/svtools/source/uno/wizard/wizardshell.hxx b/svtools/source/uno/wizard/wizardshell.hxx
index dd1442e16a8d..34016a16f259 100644
--- a/svtools/source/uno/wizard/wizardshell.hxx
+++ b/svtools/source/uno/wizard/wizardshell.hxx
@@ -71,8 +71,8 @@ namespace svt { namespace uno
{
return skipBackwardUntil( impl_pageIdToState( i_nPageId ) );
}
- bool travelNext() { return WizardShell_Base::travelNext(); }
- bool travelPrevious() { return WizardShell_Base::travelPrevious(); }
+ using WizardShell_Base::travelNext;
+ using WizardShell_Base::travelPrevious;
void activatePath( const sal_Int16 i_nPathID, const bool i_bFinal )
{