From f4f4a8ed4f56035cc9f536d00f62a552af974cf0 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Wed, 13 Oct 2010 02:47:36 -0500 Subject: use SolarMutexGuard to guard the SolarMutex --- uui/source/iahndl-authentication.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'uui/source/iahndl-authentication.cxx') diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index 7c9a470aa5d6..3f669c3f8da7 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -71,7 +71,7 @@ executeLoginDialog( { try { - vos::OGuard aGuard(Application::GetSolarMutex()); + SolarMutexGuard aGuard; bool bAccount = (rInfo.GetFlags() & LOGINERROR_FLAG_MODIFY_ACCOUNT) != 0; bool bSavePassword = rInfo.GetCanRememberPassword(); @@ -424,7 +424,7 @@ executeMasterPasswordDialog( rtl::OString aMaster; try { - vos::OGuard aGuard(Application::GetSolarMutex()); + SolarMutexGuard aGuard; std::auto_ptr< ResMgr > xManager( ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(uui))); @@ -526,7 +526,7 @@ executePasswordDialog( { try { - vos::OGuard aGuard(Application::GetSolarMutex()); + SolarMutexGuard aGuard; std::auto_ptr< ResMgr > xManager( ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(uui))); -- cgit