diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-14 23:10:46 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 17:58:18 -0500 |
commit | 6bc8cf4fca5cc8d1c880c20eefc83d86ea0e6f98 (patch) | |
tree | abea75643c27a046bff6cceaf7bea96c4582a585 /sd/source | |
parent | f883da353a2edf987ae2edecbb2c765a2fdd929d (diff) |
replace a pair acquire/release on the SolarMutex by a SolarMutexGuard
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/app/sdxfer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx index 2e07a2ff9284..b0207b1d70df 100644 --- a/sd/source/ui/app/sdxfer.cxx +++ b/sd/source/ui/app/sdxfer.cxx @@ -140,7 +140,7 @@ SdTransferable::~SdTransferable() if( mpSdView ) EndListening( *const_cast< sd::View *>( mpSdView) ); - Application::GetSolarMutex().acquire(); + SolarMutexGuard aSolarGuard; ObjectReleased(); @@ -171,7 +171,6 @@ SdTransferable::~SdTransferable() delete mpVDev; delete mpObjDesc; - Application::GetSolarMutex().release(); } // ----------------------------------------------------------------------------- |