diff options
Diffstat (limited to 'comphelper/source/misc/instancelocker.cxx')
-rw-r--r-- | comphelper/source/misc/instancelocker.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
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 ); } |