summaryrefslogtreecommitdiff
path: root/framework/source/uielement/logoimagestatusbarcontroller.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-13 02:47:36 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:55:33 -0500
commitf4f4a8ed4f56035cc9f536d00f62a552af974cf0 (patch)
treee247bfb2431e1413704de1286952e8e5d6eb1bfd /framework/source/uielement/logoimagestatusbarcontroller.cxx
parent3a81649a55a49705d907a6ee72c92e26d2d4f2ee (diff)
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'framework/source/uielement/logoimagestatusbarcontroller.cxx')
-rw-r--r--framework/source/uielement/logoimagestatusbarcontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/logoimagestatusbarcontroller.cxx b/framework/source/uielement/logoimagestatusbarcontroller.cxx
index 17ad76af6ac5..a4ba634c307d 100644
--- a/framework/source/uielement/logoimagestatusbarcontroller.cxx
+++ b/framework/source/uielement/logoimagestatusbarcontroller.cxx
@@ -88,7 +88,7 @@ void SAL_CALL LogoImageStatusbarController::release() throw ()
void SAL_CALL LogoImageStatusbarController::initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments )
throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException)
{
- vos::OGuard aSolarMutexGuard( Application::GetSolarMutex() );
+ SolarMutexGuard aSolarMutexGuard;
svt::StatusbarController::initialize( aArguments );
}
@@ -152,7 +152,7 @@ void SAL_CALL LogoImageStatusbarController::paint(
::sal_Int32 /*nStyle*/ )
throw (::com::sun::star::uno::RuntimeException)
{
- ::vos::OGuard aGuard( Application::GetSolarMutex() );
+ SolarMutexGuard aGuard;
OutputDevice* pOutDev = VCLUnoHelper::GetOutputDevice( xGraphics );;
if ( pOutDev )