diff options
Diffstat (limited to 'comphelper/source/misc/accessiblewrapper.cxx')
-rw-r--r-- | comphelper/source/misc/accessiblewrapper.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/comphelper/source/misc/accessiblewrapper.cxx b/comphelper/source/misc/accessiblewrapper.cxx index 2220e15563b9..d89fb9080b73 100644 --- a/comphelper/source/misc/accessiblewrapper.cxx +++ b/comphelper/source/misc/accessiblewrapper.cxx @@ -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 @@ -35,10 +35,10 @@ #include <algorithm> -using namespace ::comphelper; -using namespace ::com::sun::star::accessibility; -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::lang; +using namespace ::comphelper; +using namespace ::com::sun::star::accessibility; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::lang; //............................................................................. namespace comphelper @@ -53,7 +53,7 @@ namespace comphelper : public ::std::unary_function< AccessibleMap::value_type, void > { private: - Reference< XEventListener > m_xListener; + Reference< XEventListener > m_xListener; public: RemoveEventListener( const Reference< XEventListener >& _rxListener ) @@ -113,7 +113,7 @@ namespace comphelper { AccessibleMap::iterator aRemovedPos = m_aChildrenMap.find( _rxKey ); if ( m_aChildrenMap.end() != aRemovedPos ) - { // it was cached + { // it was cached // remove ourself as event listener RemoveEventListener aOperator( this ); aOperator( *aRemovedPos ); @@ -134,7 +134,7 @@ namespace comphelper //------------------------------------------------------------------------- Reference< XAccessible > OWrappedAccessibleChildrenManager::getAccessibleWrapperFor( - const Reference< XAccessible >& _rxKey, sal_Bool _bCreate ) + const Reference< XAccessible >& _rxKey, sal_Bool _bCreate ) { Reference< XAccessible > xValue; @@ -151,7 +151,7 @@ namespace comphelper xValue = aPos->second; } else if ( _bCreate ) - { // not found in the cache, and allowed to create + { // not found in the cache, and allowed to create // -> new wrapper xValue = new OAccessibleWrapper( m_xORB, _rxKey, (Reference< XAccessible >)m_aOwningAccessible ); @@ -259,7 +259,7 @@ namespace comphelper void OWrappedAccessibleChildrenManager::handleChildNotification( const AccessibleEventObject& _rEvent ) { if ( AccessibleEventId::INVALIDATE_ALL_CHILDREN == _rEvent.EventId ) - { // clear our child map + { // clear our child map invalidateAll( ); } else if ( AccessibleEventId::CHILD == _rEvent.EventId ) @@ -326,7 +326,7 @@ namespace comphelper { if ( !m_rBHelper.bDisposed ) { - acquire(); // to prevent duplicate dtor calls + acquire(); // to prevent duplicate dtor calls dispose(); } } @@ -680,7 +680,7 @@ namespace comphelper } //............................................................................. -} // namespace accessibility +} // namespace accessibility //............................................................................. /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |