summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-21 12:39:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-22 07:38:28 +0100
commit5923df69b46295c5686e5c91ea2a8fc7b46d8357 (patch)
treeb6d416465734360aaa5760615d42d8db31652d13 /writerperfect
parent3114e187e5abd34207f220b6d9f42b63b4fe0bd8 (diff)
loplugin:unusedfields in writerfilter
Change-Id: Icce42e5db6d8ac51bf8b7d40cb497c6c365099d2 Reviewed-on: https://gerrit.libreoffice.org/68152 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/inc/ImportFilter.hxx19
1 files changed, 2 insertions, 17 deletions
diff --git a/writerperfect/inc/ImportFilter.hxx b/writerperfect/inc/ImportFilter.hxx
index 1b2bca9dd995..467aeac0c4dc 100644
--- a/writerperfect/inc/ImportFilter.hxx
+++ b/writerperfect/inc/ImportFilter.hxx
@@ -153,23 +153,9 @@ public:
}
// XInitialization
- virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& aArguments) override
+ virtual void SAL_CALL
+ initialize(const css::uno::Sequence<css::uno::Any>& /*aArguments*/) override
{
- css::uno::Sequence<css::beans::PropertyValue> aAnySeq;
- sal_Int32 nLength = aArguments.getLength();
- if (nLength && (aArguments[0] >>= aAnySeq))
- {
- const css::beans::PropertyValue* pValue = aAnySeq.getConstArray();
- nLength = aAnySeq.getLength();
- for (sal_Int32 i = 0; i < nLength; i++)
- {
- if (pValue[i].Name == "Type")
- {
- pValue[i].Value >>= msFilterName;
- break;
- }
- }
- }
}
private:
@@ -181,7 +167,6 @@ private:
css::uno::Reference<css::uno::XComponentContext> mxContext;
css::uno::Reference<css::lang::XComponent> mxDoc;
- OUString msFilterName;
};
}