summaryrefslogtreecommitdiff
path: root/chart2/source/model
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model')
-rwxr-xr-xchart2/source/model/main/UndoManager.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx
index 8e9ee25fa0c5..702dd2e5ab54 100755
--- a/chart2/source/model/main/UndoManager.cxx
+++ b/chart2/source/model/main/UndoManager.cxx
@@ -143,8 +143,10 @@ namespace chart
//--------------------------------------------------------------------------------------------------------------
void UndoManager_Impl::disposing()
{
- ::osl::MutexGuard aGuard( m_rMutex );
- m_bDisposed = true;
+ {
+ ::osl::MutexGuard aGuard( m_rMutex );
+ m_bDisposed = true;
+ }
m_aUndoHelper.disposing();
}