diff options
author | obo <obo@openoffice.org> | 2010-06-15 10:46:01 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-06-15 10:46:01 +0200 |
commit | 28b4875fa1fc9345305f371492bcb703cb19331f (patch) | |
tree | d7b97841946bc74142ccaecdcb87edaf52804189 /chart2/source/view/main | |
parent | 275f83f55e92a7ce0bc37069aad12f9584a83520 (diff) | |
parent | 375b87bdf5c1a1c09b232d95581ed7dbbd4685f8 (diff) |
CWS-TOOLING: integrate CWS chart47
Diffstat (limited to 'chart2/source/view/main')
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index c13216a041d7..2347824664c5 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -211,7 +211,11 @@ void SAL_CALL ChartView::initialize( const uno::Sequence< uno::Any >& aArguments ChartView::~ChartView() { if( m_pDrawModelWrapper.get() ) + { EndListening( m_pDrawModelWrapper->getSdrModel(), FALSE /*bAllDups*/ ); + ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + m_pDrawModelWrapper.reset(); + } m_xDrawPage = NULL; impl_deleteCoordinateSystems(); } |