From 74713b34a36577f19eb3194246de73fa4f2bb741 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 May 2016 09:05:21 +0200 Subject: loplugin:unusedmethods Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vbahelper/vbacollectionimpl.hxx | 4 ---- include/vbahelper/vbahelperinterface.hxx | 4 ---- include/vbahelper/vbareturntypes.hxx | 18 ------------------ 3 files changed, 26 deletions(-) (limited to 'include/vbahelper') diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index fd792082dde3..3b3fc02bb113 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -80,10 +80,6 @@ private: class VBAHELPER_DLLPUBLIC SimpleEnumerationBase : public EnumerationHelper_BASE { public: - explicit SimpleEnumerationBase( - const css::uno::Reference< css::container::XEnumeration >& rxEnumeration ) throw (css::uno::RuntimeException) : - mxEnumeration( rxEnumeration ) {} - explicit SimpleEnumerationBase( const css::uno::Reference< css::container::XIndexAccess >& rxIndexAccess ) throw (css::uno::RuntimeException) : mxEnumeration( new SimpleIndexAccessToEnumeration( rxIndexAccess ) ) {} diff --git a/include/vbahelper/vbahelperinterface.hxx b/include/vbahelper/vbahelperinterface.hxx index 7e1b5f3b75b6..35f5146f3c54 100644 --- a/include/vbahelper/vbahelperinterface.hxx +++ b/include/vbahelper/vbahelperinterface.hxx @@ -58,8 +58,6 @@ protected: css::uno::WeakReference< ov::XHelperInterface > mxParent; css::uno::Reference< css::uno::XComponentContext > mxContext; public: - InheritedHelperInterfaceImpl() {} - InheritedHelperInterfaceImpl( const css::uno::Reference< css::uno::XComponentContext >& xContext ) : mxContext( xContext ) {} InheritedHelperInterfaceImpl( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext ) : mxParent( xParent ), mxContext( xContext ) {} virtual OUString getServiceImplName() = 0; virtual css::uno::Sequence getServiceNames() = 0; @@ -102,8 +100,6 @@ class SAL_DLLPUBLIC_TEMPLATE InheritedHelperInterfaceWeakImpl : public Inherited { typedef InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > Base; public: - InheritedHelperInterfaceWeakImpl< Ifc... >() {} - InheritedHelperInterfaceWeakImpl< Ifc... >( const css::uno::Reference< css::uno::XComponentContext >& xContext ) : Base( xContext ) {} InheritedHelperInterfaceWeakImpl< Ifc... >( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext ) : Base( xParent, xContext ) {} }; diff --git a/include/vbahelper/vbareturntypes.hxx b/include/vbahelper/vbareturntypes.hxx index cc759c32742b..7da0808588a6 100644 --- a/include/vbahelper/vbareturntypes.hxx +++ b/include/vbahelper/vbareturntypes.hxx @@ -51,24 +51,6 @@ namespace ooo ReturnInteger( sal_Int32 nValue ) : ReturnInteger_BASE( nValue ){} }; - typedef DefaultReturnHelper< sal_Bool, ov::msforms::XReturnBoolean > ReturnBoolean_BASE; - class ReturnBoolean : public ReturnBoolean_BASE - { - public: - ReturnBoolean( bool bValue ) : ReturnBoolean_BASE( bValue ){} - }; - typedef DefaultReturnHelper< float, ov::msforms::XReturnSingle > ReturnSingle_BASE; - class ReturnSingle : public ReturnSingle_BASE - { - public: - ReturnSingle( float nValue ) : ReturnSingle_BASE( nValue ){} - }; - typedef DefaultReturnHelper< short, ov::msforms::XReturnEffect > ReturnEffect_BASE; - class ReturnEffect : public ReturnEffect_BASE - { - public: - ReturnEffect( short nValue ) : ReturnEffect_BASE( nValue ){} - }; } // vba } // ooo -- cgit