summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-10 08:35:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-10 08:35:58 +0200
commit0c06f9c5bb002c0aac1811ea973787f6f94d4758 (patch)
tree669be6a070d8fb3c60ed87d0ddeff177cad01108 /chart2
parent9e0d79b0d99c62a79256a792c7ac76825c74578c (diff)
Further fallout from git mis-merge?
...in a80f74add22c303327dd3203d9be5eeb901a73a4 "Put SeriesPlotterContainer into CreateShapeParam2D." Change-Id: I9e2f700a1999070069ff87fc3030c00a045372c6
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/ChartView.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index f5ef6101571e..9d3b54c71c55 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -360,11 +360,10 @@ void SeriesPlotterContainer::initializeCooSysAndSeriesPlotter(
xDiaProp->getPropertyValue( "IncludeHiddenCells" ) >>= bIncludeHiddenCells;
xDiaProp->getPropertyValue( "StartingAngle" ) >>= nStartingAngle;
- if( m_pDrawModelWrapper.get() )
- {
- SolarMutexGuard aSolarGuard;
- EndListening( m_pDrawModelWrapper->getSdrModel(), false /*bAllDups*/ );
- m_pDrawModelWrapper.reset();
+ if (nDimensionCount == 3)
+ {
+ xDiaProp->getPropertyValue( "3DRelativeHeight" ) >>= n3DRelativeHeight;
+ }
}
catch( const uno::Exception & ex )
{
@@ -1106,10 +1105,11 @@ ChartView::~ChartView()
if ( xComp.is() )
xComp->dispose();
- if (nDimensionCount == 3)
- {
- xDiaProp->getPropertyValue( "3DRelativeHeight" ) >>= n3DRelativeHeight;
- }
+ if( m_pDrawModelWrapper.get() )
+ {
+ SolarMutexGuard aSolarGuard;
+ EndListening( m_pDrawModelWrapper->getSdrModel(), false /*bAllDups*/ );
+ m_pDrawModelWrapper.reset();
}
m_xDrawPage = NULL;
impl_deleteCoordinateSystems();