diff options
Diffstat (limited to 'extensions/source/bibliography/loadlisteneradapter.hxx')
-rw-r--r-- | extensions/source/bibliography/loadlisteneradapter.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/extensions/source/bibliography/loadlisteneradapter.hxx b/extensions/source/bibliography/loadlisteneradapter.hxx index c37384e4d266..c35cb939b5b0 100644 --- a/extensions/source/bibliography/loadlisteneradapter.hxx +++ b/extensions/source/bibliography/loadlisteneradapter.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -49,8 +49,8 @@ namespace bib friend class OComponentAdapterBase; private: - OComponentAdapterBase* m_pAdapter; - ::osl::Mutex& m_rMutex; + OComponentAdapterBase* m_pAdapter; + ::osl::Mutex& m_rMutex; protected: OComponentListener( ::osl::Mutex& _rMutex ) :m_pAdapter( NULL ) @@ -77,10 +77,10 @@ namespace bib private: ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > m_xComponent; - OComponentListener* m_pListener; - sal_Int32 m_nLockCount; - sal_Bool m_bListening : 1; - sal_Bool m_bAutoRelease : 1; + OComponentListener* m_pListener; + sal_Int32 m_nLockCount; + sal_Bool m_bListening : 1; + sal_Bool m_bAutoRelease : 1; // impl method for dispose - virtual, 'cause you at least need to remove the listener from the broadcaster virtual void disposing() = 0; @@ -88,11 +88,11 @@ namespace bib protected: // attribute access for derivees const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& - getComponent() const { return m_xComponent; } - OComponentListener* getListener() { return m_pListener; } + getComponent() const { return m_xComponent; } + OComponentListener* getListener() { return m_pListener; } // to be called by derivees which started listening at the component - virtual void startComponentListening() = 0; + virtual void startComponentListening() = 0; virtual ~OComponentAdapterBase(); @@ -113,7 +113,7 @@ namespace bib // helper /// get the lock count - sal_Int32 locked() const { return m_nLockCount; } + sal_Int32 locked() const { return m_nLockCount; } /// dispose the object - stop listening and such void dispose(); @@ -144,17 +144,17 @@ namespace bib //===================================================================== //= OLoadListenerAdapter //===================================================================== - typedef ::cppu::WeakImplHelper1< ::com::sun::star::form::XLoadListener > OLoadListenerAdapter_Base; + typedef ::cppu::WeakImplHelper1< ::com::sun::star::form::XLoadListener > OLoadListenerAdapter_Base; class OLoadListenerAdapter :public OLoadListenerAdapter_Base ,public OComponentAdapterBase { protected: - OLoadListener* getLoadListener( ) { return static_cast< OLoadListener* >( getListener() ); } + OLoadListener* getLoadListener( ) { return static_cast< OLoadListener* >( getListener() ); } protected: - virtual void disposing(); - virtual void startComponentListening(); + virtual void disposing(); + virtual void startComponentListening(); public: OLoadListenerAdapter( @@ -179,7 +179,7 @@ namespace bib }; //......................................................................... -} // namespace bib +} // namespace bib //......................................................................... #endif // EXTENSIONS_BIB_LOADLISTENERADAPTER_HXX |