diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-13 02:47:36 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 19:55:33 -0500 |
commit | f4f4a8ed4f56035cc9f536d00f62a552af974cf0 (patch) | |
tree | e247bfb2431e1413704de1286952e8e5d6eb1bfd /uui/source/iahndl-locking.cxx | |
parent | 3a81649a55a49705d907a6ee72c92e26d2d4f2ee (diff) |
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'uui/source/iahndl-locking.cxx')
-rw-r--r-- | uui/source/iahndl-locking.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/iahndl-locking.cxx b/uui/source/iahndl-locking.cxx index 0c74b064d6c3..e8be19b1eddd 100644 --- a/uui/source/iahndl-locking.cxx +++ b/uui/source/iahndl-locking.cxx @@ -81,7 +81,7 @@ handleLockedDocumentRequest_( try { - vos::OGuard aGuard(Application::GetSolarMutex()); + SolarMutexGuard aGuard; std::auto_ptr< ResMgr > xManager( ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(uui))); if (!xManager.get()) @@ -172,7 +172,7 @@ handleChangedByOthersRequest_( try { - vos::OGuard aGuard(Application::GetSolarMutex()); + SolarMutexGuard aGuard; std::auto_ptr< ResMgr > xManager( ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(uui))); if (!xManager.get()) @@ -211,7 +211,7 @@ handleLockFileIgnoreRequest_( try { - vos::OGuard aGuard(Application::GetSolarMutex()); + SolarMutexGuard aGuard; std::auto_ptr< ResMgr > xManager( ResMgr::CreateResMgr(CREATEVERSIONRESMGR_NAME(uui))); if (!xManager.get()) |