summaryrefslogtreecommitdiff
path: root/include/vbahelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-22 15:29:45 +0200
committerNoel Grandin <noel@peralex.com>2015-12-23 08:13:53 +0200
commit1dbe54fd2e0c776c1f11c20bdb029fab14fc61ad (patch)
tree67a8bedde3368176b6a247275b960e05afed1e6a /include/vbahelper
parent7ecfdc8b97543fd50ee037632454b3c51e33e4bf (diff)
loplugin:unusedfields in /include
Change-Id: Ia406e727890a365cc89831c96140cad8240f9b61
Diffstat (limited to 'include/vbahelper')
-rw-r--r--include/vbahelper/vbacollectionimpl.hxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx
index bd3ffdd06e9a..5adcb042a466 100644
--- a/include/vbahelper/vbacollectionimpl.hxx
+++ b/include/vbahelper/vbacollectionimpl.hxx
@@ -84,16 +84,12 @@ class VBAHELPER_DLLPUBLIC SimpleEnumerationBase : public EnumerationHelper_BASE
{
public:
explicit SimpleEnumerationBase(
- const css::uno::Reference< ov::XHelperInterface >& rxParent,
- const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const css::uno::Reference< css::container::XEnumeration >& rxEnumeration ) throw (css::uno::RuntimeException) :
- mxParent( rxParent ), mxContext( rxContext ), mxEnumeration( rxEnumeration ) {}
+ mxEnumeration( rxEnumeration ) {}
explicit SimpleEnumerationBase(
- const css::uno::Reference< ov::XHelperInterface >& rxParent,
- const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const css::uno::Reference< css::container::XIndexAccess >& rxIndexAccess ) throw (css::uno::RuntimeException) :
- mxParent( rxParent ), mxContext( rxContext ), mxEnumeration( new SimpleIndexAccessToEnumeration( rxIndexAccess ) ) {}
+ mxEnumeration( new SimpleIndexAccessToEnumeration( rxIndexAccess ) ) {}
virtual sal_Bool SAL_CALL hasMoreElements() throw (css::uno::RuntimeException, std::exception) override
{
@@ -110,8 +106,6 @@ public:
virtual css::uno::Any createCollectionObject( const css::uno::Any& rSource ) = 0;
protected:
- css::uno::Reference< ov::XHelperInterface > mxParent;
- css::uno::Reference< css::uno::XComponentContext > mxContext;
css::uno::Reference< css::container::XEnumeration > mxEnumeration;
};