diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-13 01:47:23 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 19:55:36 -0500 |
commit | 18a9a87a805b94ad8f7b8a67d63a8568bfd295e7 (patch) | |
tree | 5114eb2cabf9872df50dfb0ca8fd23c7378cd4f0 /canvas | |
parent | b450a32890184a18ed176dbf717e944190cbe643 (diff) |
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/inc/canvas/vclwrapper.hxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/bitmapbackbuffer.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/canvas/inc/canvas/vclwrapper.hxx b/canvas/inc/canvas/vclwrapper.hxx index 9e3fc6dbe0cf..cbd880709b3d 100644 --- a/canvas/inc/canvas/vclwrapper.hxx +++ b/canvas/inc/canvas/vclwrapper.hxx @@ -119,7 +119,7 @@ namespace canvas { // This here is the whole purpose of the template: // protecting object deletion with the solar mutex - ::vos::OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; if( mpWrappee ) delete mpWrappee; diff --git a/canvas/source/vcl/bitmapbackbuffer.cxx b/canvas/source/vcl/bitmapbackbuffer.cxx index 49ab56459e2a..faeeaa793475 100644 --- a/canvas/source/vcl/bitmapbackbuffer.cxx +++ b/canvas/source/vcl/bitmapbackbuffer.cxx @@ -55,7 +55,7 @@ namespace vclcanvas { // make sure solar mutex is held on deletion (other methods // are supposed to be called with already locked solar mutex) - ::vos::OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; if( mpVDev ) delete mpVDev; |