diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:28:43 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:28:43 +0000 |
commit | 15d6aa94430b31b25bd62d44d3bcc603d4abf377 (patch) | |
tree | faac934476a05e740ff711489f2cd5d4e17c3f51 /svtools | |
parent | c0d946d36550f5c556e65b7c5b747b0393a05cc7 (diff) |
INTEGRATION: CWS warnings01 (1.8.62); FILE MERGED
2006/01/25 19:51:59 sb 1.8.62.3: RESYNC: (1.8-1.9); FILE MERGED
2005/11/15 19:56:06 pl 1.8.62.2: #i55991# removed warnings
2005/10/26 12:41:03 pl 1.8.62.1: #i55991# removed warnings for linux platform
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/toolboxcontroller.cxx | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx index 8d4ff1abff3d..10be148afb24 100644 --- a/svtools/source/uno/toolboxcontroller.cxx +++ b/svtools/source/uno/toolboxcontroller.cxx @@ -4,9 +4,9 @@ * * $RCSfile: toolboxcontroller.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: kz $ $Date: 2006-01-05 18:13:23 $ + * last change: $Author: hr $ $Date: 2006-06-19 21:28:43 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -103,12 +103,12 @@ ToolboxController::ToolboxController( const Reference< XFrame >& xFrame, const OUString& aCommandURL ) : OWeakObject() - , m_aListenerContainer( m_aMutex ) + , m_bInitialized( sal_False ) + , m_bDisposed( sal_False ) , m_xFrame(xFrame) , m_xServiceManager( rServiceManager ) , m_aCommandURL( aCommandURL ) - , m_bInitialized( sal_False ) - , m_bDisposed( sal_False ) + , m_aListenerContainer( m_aMutex ) { m_pImpl = new ToolboxController_Impl; @@ -125,9 +125,9 @@ ToolboxController::ToolboxController( ToolboxController::ToolboxController() : OWeakObject() - , m_aListenerContainer( m_aMutex ) , m_bInitialized( sal_False ) , m_bDisposed( sal_False ) + , m_aListenerContainer( m_aMutex ) { m_pImpl = new ToolboxController_Impl; } @@ -210,7 +210,6 @@ throw ( Exception, RuntimeException ) const rtl::OUString aParentWindow( RTL_CONSTASCII_USTRINGPARAM( "ParentWindow" )); bool bInitialized( true ); - bool bBindListener( false ); { vos::OGuard aSolarMutexGuard( Application::GetSolarMutex() ); @@ -352,7 +351,7 @@ throw ( RuntimeException ) } // XStatusListener -void SAL_CALL ToolboxController::statusChanged( const FeatureStateEvent& Event ) +void SAL_CALL ToolboxController::statusChanged( const FeatureStateEvent& ) throw ( RuntimeException ) { // must be implemented by sub class @@ -422,7 +421,7 @@ throw (::com::sun::star::uno::RuntimeException) return Reference< XWindow >(); } -Reference< XWindow > SAL_CALL ToolboxController::createItemWindow( const Reference< XWindow >& Parent ) +Reference< XWindow > SAL_CALL ToolboxController::createItemWindow( const Reference< XWindow >& ) throw (::com::sun::star::uno::RuntimeException) { return Reference< XWindow >(); @@ -462,11 +461,11 @@ void ToolboxController::addStatusListener( const rtl::OUString& aCommandURL ) xDispatch = xDispatchProvider->queryDispatch( aTargetURL, ::rtl::OUString(), 0 ); xStatusListener = Reference< XStatusListener >( static_cast< OWeakObject* >( this ), UNO_QUERY ); - URLToDispatchMap::iterator pIter = m_aListenerMap.find( aCommandURL ); - if ( pIter != m_aListenerMap.end() ) + URLToDispatchMap::iterator aIter = m_aListenerMap.find( aCommandURL ); + if ( aIter != m_aListenerMap.end() ) { - Reference< XDispatch > xOldDispatch( pIter->second ); - pIter->second = xDispatch; + Reference< XDispatch > xOldDispatch( aIter->second ); + aIter->second = xDispatch; try { |