summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-21 13:44:24 +0200
committerNoel Grandin <noel@peralex.com>2015-12-21 13:51:29 +0200
commitf4e703aa39e9c294441b6dd86189d8aff32db8bf (patch)
tree6e5c3dd04760702e160b2d068704da093c7e6a48 /stoc/source/uriproc
parent3785f82e26c33c385494229be3bcfbe2daffe872 (diff)
loplugin:unusedfields in sfx2,slideshow,starmath,stoc
Change-Id: If3622b23c45dd3a2a4e9869452142d1f6b47919e
Diffstat (limited to 'stoc/source/uriproc')
-rw-r--r--stoc/source/uriproc/ExternalUriReferenceTranslator.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
index 3dde5b31539c..7c81651d87d1 100644
--- a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
+++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
@@ -46,9 +46,7 @@ class Translator:
private boost::noncopyable
{
public:
- explicit Translator(
- css::uno::Reference< css::uno::XComponentContext > const & context):
- m_context(context) {}
+ Translator() {}
virtual OUString SAL_CALL getImplementationName()
throw (css::uno::RuntimeException, std::exception) override;
@@ -69,8 +67,6 @@ public:
private:
virtual ~Translator() {}
-
- css::uno::Reference< css::uno::XComponentContext > m_context;
};
OUString Translator::getImplementationName()
@@ -190,10 +186,10 @@ OUString Translator::translateToExternal(
}
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL
-com_sun_star_comp_uri_ExternalUriReferenceTranslator_get_implementation(css::uno::XComponentContext* rxContext,
+com_sun_star_comp_uri_ExternalUriReferenceTranslator_get_implementation(css::uno::XComponentContext* ,
css::uno::Sequence<css::uno::Any> const &)
{
- return ::cppu::acquire(new Translator(rxContext));
+ return ::cppu::acquire(new Translator);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */