summaryrefslogtreecommitdiffstats
path: root/binaryurp/source/bridgefactory.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-15 11:26:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-15 12:20:59 +0000
commit8d4a306eb04742f499ab693e7f8ebd3ae3c01415 (patch)
treeaf85c31b99112b5c76e71ad83a58e4e6d15a1dbe /binaryurp/source/bridgefactory.cxx
parentAdd the missing lok::Office::registerCallback(). (diff)
downloadcore-8d4a306eb04742f499ab693e7f8ebd3ae3c01415.tar.gz
core-8d4a306eb04742f499ab693e7f8ebd3ae3c01415.zip
loplugin:unusedfields
Change-Id: I1400ca0af2c357dff06e5f733ec62b13d6a96461 Reviewed-on: https://gerrit.libreoffice.org/30861 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'binaryurp/source/bridgefactory.cxx')
-rw-r--r--binaryurp/source/bridgefactory.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx
index 3328d35593ef..6e7e756e2a12 100644
--- a/binaryurp/source/bridgefactory.cxx
+++ b/binaryurp/source/bridgefactory.cxx
@@ -42,9 +42,9 @@
namespace binaryurp {
css::uno::Reference< css::uno::XInterface > BridgeFactory::static_create(
- css::uno::Reference< css::uno::XComponentContext > const & xContext)
+ css::uno::Reference< css::uno::XComponentContext > const & /*xContext*/)
{
- return static_cast< cppu::OWeakObject * >(new BridgeFactory(xContext));
+ return static_cast< cppu::OWeakObject * >(new BridgeFactory);
}
OUString BridgeFactory::static_getImplementationName() {
@@ -76,11 +76,9 @@ void BridgeFactory::removeBridge(
}
}
-BridgeFactory::BridgeFactory(
- css::uno::Reference< css::uno::XComponentContext > const & context):
- BridgeFactoryBase(m_aMutex), context_(context)
+BridgeFactory::BridgeFactory():
+ BridgeFactoryBase(m_aMutex)
{
- assert(context.is());
}
BridgeFactory::~BridgeFactory() {}