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 | f883da353a2edf987ae2edecbb2c765a2fdd929d (patch) | |
tree | 35ac3a05d26da414db5bd0e9d0d18f10a1f6385f /sd/source/ui/slideshow/slideshowviewimpl.cxx | |
parent | bac821b200dcc0c11ba6d03fd23ec3b07b15dea8 (diff) |
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'sd/source/ui/slideshow/slideshowviewimpl.cxx')
-rw-r--r-- | sd/source/ui/slideshow/slideshowviewimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx index 37cd6cd7bc23..30f3ac1dcdbd 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.cxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx @@ -320,7 +320,7 @@ void SAL_CALL SlideShowView::clear() throw (::com::sun::star::uno::RuntimeExcept { // paint background in black ::osl::MutexGuard aGuard( m_aMutex ); - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; // fill the bounds rectangle in black // ---------------------------------- @@ -344,7 +344,7 @@ void SAL_CALL SlideShowView::clear() throw (::com::sun::star::uno::RuntimeExcept geometry::AffineMatrix2D SAL_CALL SlideShowView::getTransformation( ) throw (RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; const Size& rTmpSize( mrOutputWindow.GetSizePixel() ); |