diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-13 02:37:50 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 17:58:18 -0500 |
commit | 5961a2e3fda6ba902f4784d6a05c283685d5a49a (patch) | |
tree | b8925916629c4fc6dd717fb32eb5869904fbd681 /sd/source/ui/unoidl/UnoDocumentSettings.cxx | |
parent | efc7a509108bea1f1223f16aac0dcf7a7b00a8ec (diff) |
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'sd/source/ui/unoidl/UnoDocumentSettings.cxx')
-rw-r--r-- | sd/source/ui/unoidl/UnoDocumentSettings.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx index 4384b91b6..ed08e9334 100644 --- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx +++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx @@ -236,7 +236,7 @@ DocumentSettings::~DocumentSettings() throw() void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, const Any* pValues ) throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) { - OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; SdDrawDocument* pDoc = mpModel->GetDoc(); ::sd::DrawDocShell* pDocSh = mpModel->GetDocShell(); @@ -881,7 +881,7 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c void DocumentSettings::_getPropertyValues( const PropertyMapEntry** ppEntries, Any* pValue ) throw(UnknownPropertyException, WrappedTargetException ) { - OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; SdDrawDocument* pDoc = mpModel->GetDoc(); ::sd::DrawDocShell* pDocSh = mpModel->GetDocShell(); |