diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-14 22:03:58 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 19:55:29 -0500 |
commit | b10b21b999a36a6925790284c44e7b45283bd104 (patch) | |
tree | b005c0fe6089d78a624501cff113a782ec380e3a /basctl | |
parent | 213c3f88258fc803bb38dfbfe7c390eba245ca84 (diff) |
migrate use of OClearableGuard(SolarMutex) to SolarMutexGuard
3 helper class and a site were using OClearableGuard on the SolarMutex
None of these actually needed the Clearable feature, so
they were replaced by a simple SolarMutexGuard.
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/doceventnotifier.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx index c204a6ea7109..b8afffe21d88 100644 --- a/basctl/source/basicide/doceventnotifier.cxx +++ b/basctl/source/basicide/doceventnotifier.cxx @@ -177,7 +177,7 @@ namespace basctl // the listener implementations usually require the SolarMutex, so lock it here. // But ensure the proper order of locking the solar and the own mutex aGuard.clear(); - ::vos::OClearableGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard2( m_aMutex ); if ( impl_isDisposed_nothrow() ) |