summaryrefslogtreecommitdiff
path: root/include/vbahelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-25 09:05:21 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:50:33 +0000
commit74713b34a36577f19eb3194246de73fa4f2bb741 (patch)
tree334f601b030923ab621a92bae3f512ff67c99374 /include/vbahelper
parent132f7b2a8cc986ee79c4124ed2bc368d6dfaa418 (diff)
loplugin:unusedmethods
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vbahelper')
-rw-r--r--include/vbahelper/vbacollectionimpl.hxx4
-rw-r--r--include/vbahelper/vbahelperinterface.hxx4
-rw-r--r--include/vbahelper/vbareturntypes.hxx18
3 files changed, 0 insertions, 26 deletions
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
@@ -81,10 +81,6 @@ 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<OUString> 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