diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-23 09:30:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-23 09:38:46 +0200 |
commit | c5458af9051c7c3579a381592a14af725691f88c (patch) | |
tree | 8daf61dd8eeb4e7b2fea937929f4b85cf2a5e29d /comphelper | |
parent | 395815caa6be493d0831a61ba3de4e7d5ba4ae1d (diff) |
loplugin:unusedfields in chart2
Change-Id: I8203f84ad8b138932c990032e17ea5d2daf384bb
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/eventattachermgr/eventattachermgr.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/instancelocker.cxx | 9 | ||||
-rw-r--r-- | comphelper/source/misc/instancelocker.hxx | 3 |
3 files changed, 5 insertions, 9 deletions
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx index d782b744fc42..0717ea136130 100644 --- a/comphelper/source/eventattachermgr/eventattachermgr.cxx +++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx @@ -87,7 +87,6 @@ class ImplEventAttacherManager Reference< XEventAttacher2 > xAttacher; Reference< XComponentContext > mxContext; Reference< XIdlReflection > mxCoreReflection; - Reference< XIntrospection > mxIntrospection; Reference< XTypeConverter > xConverter; sal_Int16 nVersion; public: @@ -361,7 +360,6 @@ ImplEventAttacherManager::ImplEventAttacherManager( const Reference< XIntrospect const Reference< XComponentContext >& rContext ) : aScriptListeners( aLock ) , mxContext( rContext ) - , mxIntrospection( rIntrospection ) , nVersion(0) { if ( rContext.is() ) diff --git a/comphelper/source/misc/instancelocker.cxx b/comphelper/source/misc/instancelocker.cxx index 145531d42915..0348c3b96ec8 100644 --- a/comphelper/source/misc/instancelocker.cxx +++ b/comphelper/source/misc/instancelocker.cxx @@ -40,9 +40,8 @@ using namespace ::com::sun::star; -OInstanceLocker::OInstanceLocker( const uno::Reference< uno::XComponentContext >& xContext ) -: m_xContext( xContext ) -, m_pLockListener( nullptr ) +OInstanceLocker::OInstanceLocker() +: m_pLockListener( nullptr ) , m_pListenersContainer( nullptr ) , m_bDisposed( false ) , m_bInitialized( false ) @@ -224,9 +223,9 @@ OUString SAL_CALL OInstanceLocker::getImplementationName_static() uno::Reference< uno::XInterface > SAL_CALL OInstanceLocker::Create( - const uno::Reference< uno::XComponentContext >& rxContext ) + const uno::Reference< uno::XComponentContext >& ) { - return static_cast< cppu::OWeakObject * >( new OInstanceLocker( rxContext ) ); + return static_cast< cppu::OWeakObject * >( new OInstanceLocker ); } diff --git a/comphelper/source/misc/instancelocker.hxx b/comphelper/source/misc/instancelocker.hxx index ba80f6b11ef0..45986d751b48 100644 --- a/comphelper/source/misc/instancelocker.hxx +++ b/comphelper/source/misc/instancelocker.hxx @@ -43,7 +43,6 @@ class OInstanceLocker : public ::cppu::WeakImplHelper< css::lang::XComponent, css::lang::XServiceInfo > { ::osl::Mutex m_aMutex; - css::uno::Reference< css::uno::XComponentContext > m_xContext; css::uno::Reference< css::uno::XInterface > m_xLockListener; OLockListener* m_pLockListener; @@ -54,7 +53,7 @@ class OInstanceLocker : public ::cppu::WeakImplHelper< css::lang::XComponent, bool m_bInitialized; public: - explicit OInstanceLocker( const css::uno::Reference< css::uno::XComponentContext >& xContext ); + explicit OInstanceLocker(); virtual ~OInstanceLocker(); static css::uno::Sequence< OUString > SAL_CALL |