diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-13 13:17:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-14 10:39:11 +0200 |
commit | cbe5a8c85868be56ab1fac5534b105692789b9d8 (patch) | |
tree | d50491b9f5d7cdccdd79c45591ae8419440853e8 /comphelper | |
parent | 31c52706fcb73c4f088ade5b949035c53e6d36f0 (diff) |
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I213bc96fd6c9049c0dba0a527e827ae5d8f0ace3
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/eventattachermgr/eventattachermgr.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/accessiblecontexthelper.cxx | 12 |
2 files changed, 4 insertions, 10 deletions
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx index 98637f205b1f..3ade1e7428e5 100644 --- a/comphelper/source/eventattachermgr/eventattachermgr.cxx +++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx @@ -157,7 +157,6 @@ class AttacherAllListener_Impl : public WeakImplHelper1< XAllListener > Reference< XEventAttacherManager > xManager; OUString aScriptType; OUString aScriptCode; - sal_Int16 nVersion; void convertToEventReturn( Any & rRet, const Type & rRetType ) throw( CannotConvertException ); @@ -184,7 +183,6 @@ AttacherAllListener_Impl::AttacherAllListener_Impl , xManager( pManager_ ) , aScriptType( rScriptType_ ) , aScriptCode( rScriptCode_ ) - , nVersion( 2 ) { } diff --git a/comphelper/source/misc/accessiblecontexthelper.cxx b/comphelper/source/misc/accessiblecontexthelper.cxx index dbe5d1e6d1a7..48410203a21c 100644 --- a/comphelper/source/misc/accessiblecontexthelper.cxx +++ b/comphelper/source/misc/accessiblecontexthelper.cxx @@ -43,10 +43,8 @@ namespace comphelper class OContextHelper_Impl { private: - OAccessibleContextHelper* m_pAntiImpl; // the owning instance IMutex* m_pExternalLock; // the optional additional external lock - ::cppu::OInterfaceContainerHelper* m_pEventListeners; WeakReference< XAccessible > m_aCreator; // the XAccessible which created our XAccessibleContext AccessibleEventNotifier::TClientId m_nClientId; @@ -64,10 +62,8 @@ namespace comphelper { m_nClientId = _nId; } public: - OContextHelper_Impl( OAccessibleContextHelper* _pAntiImpl ) - :m_pAntiImpl( _pAntiImpl ) - ,m_pExternalLock( NULL ) - ,m_pEventListeners( NULL ) + OContextHelper_Impl() + :m_pExternalLock( NULL ) ,m_nClientId( 0 ) { } @@ -87,7 +83,7 @@ namespace comphelper :OAccessibleContextHelper_Base( GetMutex() ) ,m_pImpl( NULL ) { - m_pImpl = new OContextHelper_Impl( this ); + m_pImpl = new OContextHelper_Impl(); } //--------------------------------------------------------------------- @@ -95,7 +91,7 @@ namespace comphelper :OAccessibleContextHelper_Base( GetMutex() ) ,m_pImpl( NULL ) { - m_pImpl = new OContextHelper_Impl( this ); + m_pImpl = new OContextHelper_Impl(); m_pImpl->setExternalLock( _pExternalLock ); } |