calc58: #i113948# office crashes after resizing chart

This commit is contained in:
Thomas Benisch 2010-08-20 13:23:46 +02:00
parent 9c2ea353ea
commit b07c2a4cb2

View file

@ -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);