summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/UndoCommandDispatch.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-13 01:41:46 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 17:54:58 -0500
commitdefa3490b432f331b0f27a9ab14795f476cd3990 (patch)
treecb6bbcb7c11b985cdc1f27b446613acdfeaaccd5 /chart2/source/controller/main/UndoCommandDispatch.cxx
parent372eeaa6f8b5b383537f7d76aae6f042a0878090 (diff)
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'chart2/source/controller/main/UndoCommandDispatch.cxx')
-rw-r--r--chart2/source/controller/main/UndoCommandDispatch.cxx2
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