summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 11:36:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 06:24:23 +0000
commit98b77ad1e6acbbdda4843a4b57c1185d53884581 (patch)
tree15dd478a0e7fbdb56f8b45cf0ce732d244b28a8a /UnoControls
parent7e4887679924df28da2083735e0367ecccb8180b (diff)
loplugin:expandablemethods in UnoControls..vbahelper
Change-Id: Iec2c5e13119d97c9ca87e083c0f7cb00227e5231 Reviewed-on: https://gerrit.libreoffice.org/29997 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/inc/basecontrol.hxx6
-rw-r--r--UnoControls/source/base/basecontrol.cxx20
2 files changed, 2 insertions, 24 deletions
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index 2be5cb5e68f9..f78686e483fb 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -352,12 +352,6 @@ public:
virtual void SAL_CALL windowShown( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
virtual void SAL_CALL windowHidden( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
- // impl but public method to register service
-
- static const css::uno::Sequence< OUString > impl_getStaticSupportedServiceNames();
-
- static const OUString impl_getStaticImplementationName();
-
protected:
using OComponentHelper::disposing;
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index 2bbf46556649..b9c7e4cf0052 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -196,7 +196,7 @@ Any SAL_CALL BaseControl::queryAggregation( const Type& aType ) throw( RuntimeEx
OUString SAL_CALL BaseControl::getImplementationName() throw( RuntimeException, std::exception )
{
- return impl_getStaticImplementationName();
+ return OUString();
}
// XServiceInfo
@@ -210,7 +210,7 @@ sal_Bool SAL_CALL BaseControl::supportsService( const OUString& sServiceName ) t
Sequence< OUString > SAL_CALL BaseControl::getSupportedServiceNames() throw( RuntimeException, std::exception )
{
- return impl_getStaticSupportedServiceNames();
+ return Sequence< OUString >();
}
// XComponent
@@ -702,22 +702,6 @@ void SAL_CALL BaseControl::windowHidden( const EventObject& /*aEvent*/ ) throw(
{
}
-// impl but public method to register service in DLL
-// (In this BASE-implementation not implemented! Overwrite it in derived classes.)
-
-const Sequence< OUString > BaseControl::impl_getStaticSupportedServiceNames()
-{
- return Sequence< OUString >();
-}
-
-// impl but public method to register service in DLL
-// (In this BASE-implementation not implemented! Overwrite it in derived classes.)
-
-const OUString BaseControl::impl_getStaticImplementationName()
-{
- return OUString();
-}
-
// protected method
WindowDescriptor* BaseControl::impl_getWindowDescriptor( const Reference< XWindowPeer >& xParentPeer )