Kaydet (Commit) cbe5a8c8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-private-field (Clang towards 3.2)

Change-Id: I213bc96fd6c9049c0dba0a527e827ae5d8f0ace3
üst 31c52706
...@@ -157,7 +157,6 @@ class AttacherAllListener_Impl : public WeakImplHelper1< XAllListener > ...@@ -157,7 +157,6 @@ class AttacherAllListener_Impl : public WeakImplHelper1< XAllListener >
Reference< XEventAttacherManager > xManager; Reference< XEventAttacherManager > xManager;
OUString aScriptType; OUString aScriptType;
OUString aScriptCode; OUString aScriptCode;
sal_Int16 nVersion;
void convertToEventReturn( Any & rRet, const Type & rRetType ) void convertToEventReturn( Any & rRet, const Type & rRetType )
throw( CannotConvertException ); throw( CannotConvertException );
...@@ -184,7 +183,6 @@ AttacherAllListener_Impl::AttacherAllListener_Impl ...@@ -184,7 +183,6 @@ AttacherAllListener_Impl::AttacherAllListener_Impl
, xManager( pManager_ ) , xManager( pManager_ )
, aScriptType( rScriptType_ ) , aScriptType( rScriptType_ )
, aScriptCode( rScriptCode_ ) , aScriptCode( rScriptCode_ )
, nVersion( 2 )
{ {
} }
......
...@@ -43,10 +43,8 @@ namespace comphelper ...@@ -43,10 +43,8 @@ namespace comphelper
class OContextHelper_Impl class OContextHelper_Impl
{ {
private: private:
OAccessibleContextHelper* m_pAntiImpl; // the owning instance
IMutex* m_pExternalLock; // the optional additional external lock IMutex* m_pExternalLock; // the optional additional external lock
::cppu::OInterfaceContainerHelper* m_pEventListeners;
WeakReference< XAccessible > m_aCreator; // the XAccessible which created our XAccessibleContext WeakReference< XAccessible > m_aCreator; // the XAccessible which created our XAccessibleContext
AccessibleEventNotifier::TClientId m_nClientId; AccessibleEventNotifier::TClientId m_nClientId;
...@@ -64,10 +62,8 @@ namespace comphelper ...@@ -64,10 +62,8 @@ namespace comphelper
{ m_nClientId = _nId; } { m_nClientId = _nId; }
public: public:
OContextHelper_Impl( OAccessibleContextHelper* _pAntiImpl ) OContextHelper_Impl()
:m_pAntiImpl( _pAntiImpl ) :m_pExternalLock( NULL )
,m_pExternalLock( NULL )
,m_pEventListeners( NULL )
,m_nClientId( 0 ) ,m_nClientId( 0 )
{ {
} }
...@@ -87,7 +83,7 @@ namespace comphelper ...@@ -87,7 +83,7 @@ namespace comphelper
:OAccessibleContextHelper_Base( GetMutex() ) :OAccessibleContextHelper_Base( GetMutex() )
,m_pImpl( NULL ) ,m_pImpl( NULL )
{ {
m_pImpl = new OContextHelper_Impl( this ); m_pImpl = new OContextHelper_Impl();
} }
//--------------------------------------------------------------------- //---------------------------------------------------------------------
...@@ -95,7 +91,7 @@ namespace comphelper ...@@ -95,7 +91,7 @@ namespace comphelper
:OAccessibleContextHelper_Base( GetMutex() ) :OAccessibleContextHelper_Base( GetMutex() )
,m_pImpl( NULL ) ,m_pImpl( NULL )
{ {
m_pImpl = new OContextHelper_Impl( this ); m_pImpl = new OContextHelper_Impl();
m_pImpl->setExternalLock( _pExternalLock ); m_pImpl->setExternalLock( _pExternalLock );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment