diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-13 01:41:46 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 17:54:58 -0500 |
commit | defa3490b432f331b0f27a9ab14795f476cd3990 (patch) | |
tree | cb6bbcb7c11b985cdc1f27b446613acdfeaaccd5 /chart2/source/controller/main/UndoCommandDispatch.cxx | |
parent | 372eeaa6f8b5b383537f7d76aae6f042a0878090 (diff) |
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'chart2/source/controller/main/UndoCommandDispatch.cxx')
-rw-r--r-- | chart2/source/controller/main/UndoCommandDispatch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx index 4e349ec9d506..3917e16721fd 100644 --- a/chart2/source/controller/main/UndoCommandDispatch.cxx +++ b/chart2/source/controller/main/UndoCommandDispatch.cxx @@ -114,7 +114,7 @@ void SAL_CALL UndoCommandDispatch::dispatch( { // why is it necessary to lock the solar mutex here? // /-- - ::vos::OGuard aSolarGuard( Application::GetSolarMutex()); + SolarMutexGuard aSolarGuard; if( URL.Path.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Undo" ))) m_xUndoManager->undo( m_xModel ); else |