summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2010-08-20 13:23:46 +0200
committerThomas Benisch <tbe@openoffice.org>2010-08-20 13:23:46 +0200
commitb07c2a4cb2b8060addbf0326970afedf62f7ecc9 (patch)
tree36b1229e62d630acdb973d7535582226663958dc /chart2
parent9c2ea353ead0291d5a298b88c3bae597caafe2f5 (diff)
calc58: #i113948# office crashes after resizing chart
Diffstat (limited to 'chart2')
-rwxr-xr-xchart2/source/model/main/ChartModel.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index 950169395c95..5a30d97118c5 100755
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -1043,6 +1043,7 @@ void SAL_CALL ChartModel::setVisualAreaSize( ::sal_Int64 nAspect, const awt::Siz
{
if( nAspect == embed::Aspects::MSOLE_CONTENT )
{
+ ControllerLockGuard aLockGuard( this );
bool bChanged =
(m_aVisualAreaSize.Width != aSize.Width ||
m_aVisualAreaSize.Height != aSize.Height);