diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-21 13:44:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-21 13:51:29 +0200 |
commit | f4e703aa39e9c294441b6dd86189d8aff32db8bf (patch) | |
tree | 6e5c3dd04760702e160b2d068704da093c7e6a48 /starmath/source | |
parent | 3785f82e26c33c385494229be3bcfbe2daffe872 (diff) |
loplugin:unusedfields in sfx2,slideshow,starmath,stoc
Change-Id: If3622b23c45dd3a2a4e9869452142d1f6b47919e
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/unofilter.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/starmath/source/unofilter.cxx b/starmath/source/unofilter.cxx index 903e9af99667..00513555c1af 100644 --- a/starmath/source/unofilter.cxx +++ b/starmath/source/unofilter.cxx @@ -26,11 +26,10 @@ class MathTypeFilter : public cppu::WeakImplHelper lang::XServiceInfo > { - uno::Reference<uno::XComponentContext> m_xContext; uno::Reference<lang::XComponent> m_xDstDoc; public: - explicit MathTypeFilter(const uno::Reference<uno::XComponentContext>& xContext); + MathTypeFilter(); virtual ~MathTypeFilter(); // XFilter @@ -46,8 +45,7 @@ public: virtual uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (uno::RuntimeException, std::exception) override; }; -MathTypeFilter::MathTypeFilter(const uno::Reference< uno::XComponentContext >& rxContext) - : m_xContext(rxContext) +MathTypeFilter::MathTypeFilter() { } @@ -124,9 +122,9 @@ uno::Sequence<OUString> MathTypeFilter::getSupportedServiceNames() throw(uno::Ru return aRet; } -extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* SAL_CALL com_sun_star_comp_Math_MathTypeFilter_get_implementation(uno::XComponentContext* pComponent, uno::Sequence<uno::Any> const&) +extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* SAL_CALL com_sun_star_comp_Math_MathTypeFilter_get_implementation(uno::XComponentContext* , uno::Sequence<uno::Any> const&) { - return cppu::acquire(new MathTypeFilter(pComponent)); + return cppu::acquire(new MathTypeFilter); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |