From 0a7b739cc33a56339a2bf0f8f0253f9402cabd35 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 Apr 2015 13:17:16 +0200 Subject: loplugin:staticmethods Change-Id: I2ee91d07cf9d46cdc385a4db8473550b05e2f0ad --- extensions/source/dbpilots/controlwizard.hxx | 4 ++-- extensions/source/dbpilots/optiongrouplayouter.hxx | 2 +- extensions/source/dbpilots/wizardservices.cxx | 12 ++++++------ extensions/source/dbpilots/wizardservices.hxx | 18 +++++++++--------- 4 files changed, 18 insertions(+), 18 deletions(-) (limited to 'extensions/source/dbpilots') diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx index 2d0fdbac7aa1..879520db1c99 100644 --- a/extensions/source/dbpilots/controlwizard.hxx +++ b/extensions/source/dbpilots/controlwizard.hxx @@ -77,11 +77,11 @@ namespace dbp virtual ~OControlWizardPage(); protected: - void fillListBox( + static void fillListBox( ListBox& _rList, const ::com::sun::star::uno::Sequence< OUString >& _rItems, bool _bClear = true); - void fillListBox( + static void fillListBox( ComboBox& _rList, const ::com::sun::star::uno::Sequence< OUString >& _rItems, bool _bClear = true); diff --git a/extensions/source/dbpilots/optiongrouplayouter.hxx b/extensions/source/dbpilots/optiongrouplayouter.hxx index 6b701b49ab9b..8f062818ddca 100644 --- a/extensions/source/dbpilots/optiongrouplayouter.hxx +++ b/extensions/source/dbpilots/optiongrouplayouter.hxx @@ -54,7 +54,7 @@ namespace dbp ); protected: - void implAnchorShape( + static void implAnchorShape( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxShapeProps ); }; diff --git a/extensions/source/dbpilots/wizardservices.cxx b/extensions/source/dbpilots/wizardservices.cxx index 4c0e3dd0fce2..68e7b43f9ecd 100644 --- a/extensions/source/dbpilots/wizardservices.cxx +++ b/extensions/source/dbpilots/wizardservices.cxx @@ -59,13 +59,13 @@ namespace dbp //= OGroupBoxSI - OUString OGroupBoxSI::getImplementationName() const + OUString OGroupBoxSI::getImplementationName() { return OUString("org.openoffice.comp.dbp.OGroupBoxWizard"); } - Sequence< OUString > OGroupBoxSI::getServiceNames() const + Sequence< OUString > OGroupBoxSI::getServiceNames() { Sequence< OUString > aReturn(1); aReturn[0] = "com.sun.star.sdb.GroupBoxAutoPilot"; @@ -76,13 +76,13 @@ namespace dbp //= OListComboSI - OUString OListComboSI::getImplementationName() const + OUString OListComboSI::getImplementationName() { return OUString("org.openoffice.comp.dbp.OListComboWizard"); } - Sequence< OUString > OListComboSI::getServiceNames() const + Sequence< OUString > OListComboSI::getServiceNames() { Sequence< OUString > aReturn(1); aReturn[0] = "com.sun.star.sdb.ListComboBoxAutoPilot"; @@ -93,13 +93,13 @@ namespace dbp //= OGridSI - OUString OGridSI::getImplementationName() const + OUString OGridSI::getImplementationName() { return OUString("org.openoffice.comp.dbp.OGridWizard"); } - Sequence< OUString > OGridSI::getServiceNames() const + Sequence< OUString > OGridSI::getServiceNames() { Sequence< OUString > aReturn(1); aReturn[0] = "com.sun.star.sdb.GridControlAutoPilot"; diff --git a/extensions/source/dbpilots/wizardservices.hxx b/extensions/source/dbpilots/wizardservices.hxx index 85637a4edaf6..276e0837c801 100644 --- a/extensions/source/dbpilots/wizardservices.hxx +++ b/extensions/source/dbpilots/wizardservices.hxx @@ -35,9 +35,9 @@ namespace dbp struct OGroupBoxSI { public: - OUString getImplementationName() const; - ::com::sun::star::uno::Sequence< OUString > - getServiceNames() const; + static OUString getImplementationName(); + static ::com::sun::star::uno::Sequence< OUString > + getServiceNames(); }; @@ -47,9 +47,9 @@ namespace dbp struct OListComboSI { public: - OUString getImplementationName() const; - ::com::sun::star::uno::Sequence< OUString > - getServiceNames() const; + static OUString getImplementationName(); + static ::com::sun::star::uno::Sequence< OUString > + getServiceNames(); }; @@ -59,9 +59,9 @@ namespace dbp struct OGridSI { public: - OUString getImplementationName() const; - ::com::sun::star::uno::Sequence< OUString > - getServiceNames() const; + static OUString getImplementationName(); + static ::com::sun::star::uno::Sequence< OUString > + getServiceNames(); }; -- cgit