diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-13 04:35:41 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 19:55:29 -0500 |
commit | 0d1f3a8577c56d162de09478cc3c358beb8683a7 (patch) | |
tree | 19a7987d6c26b8a37bd7e58d79a63d7007b10e4e /forms/source/solar/component | |
parent | d166c4a022a4219eb488f6c0dbd3a6defdc974f7 (diff) |
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'forms/source/solar/component')
-rw-r--r-- | forms/source/solar/component/navbarcontrol.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx index c4fb971700f8..673501803f29 100644 --- a/forms/source/solar/component/navbarcontrol.cxx +++ b/forms/source/solar/component/navbarcontrol.cxx @@ -165,7 +165,7 @@ namespace frm //------------------------------------------------------------------ void SAL_CALL ONavigationBarControl::createPeer( const Reference< XToolkit >& /*_rToolkit*/, const Reference< XWindowPeer >& _rParentPeer ) throw( RuntimeException ) { - ::vos::OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; if (!getPeer().is()) { @@ -336,7 +336,7 @@ namespace frm //------------------------------------------------------------------ void SAL_CALL ONavigationBarPeer::setProperty( const ::rtl::OUString& _rPropertyName, const Any& _rValue ) throw( RuntimeException ) { - ::vos::OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; NavigationToolBar* pNavBar = static_cast< NavigationToolBar* >( GetWindow() ); if ( !pNavBar ) @@ -417,7 +417,7 @@ namespace frm //------------------------------------------------------------------ Any SAL_CALL ONavigationBarPeer::getProperty( const ::rtl::OUString& _rPropertyName ) throw( RuntimeException ) { - ::vos::OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; Any aReturn; NavigationToolBar* pNavBar = static_cast< NavigationToolBar* >( GetWindow() ); |