summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-10-10 05:47:04 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-11-19 13:47:36 +0100
commitc5843e73665617f7febb326836c8f31d3f186200 (patch)
tree277ac2af0b5aac81723c8a9dfcfdac1ba4acb918 /chart2
parentab95314c70451ac81adf4f16d738a74f40ae7c9f (diff)
remove a few more unnecessary lines
Change-Id: I44eafb69bf32cb8dbf7d07278a010ca4d812a832
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/charttypes/AreaChart.cxx1
-rw-r--r--chart2/source/view/charttypes/NetChart.cxx4
-rw-r--r--chart2/source/view/charttypes/NetChart.hxx1
3 files changed, 1 insertions, 5 deletions
diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx
index 195b70669268..3dee4f47e44b 100644
--- a/chart2/source/view/charttypes/AreaChart.cxx
+++ b/chart2/source/view/charttypes/AreaChart.cxx
@@ -29,7 +29,6 @@
#include "LabelPositionHelper.hxx"
#include "Clipping.hxx"
#include "Stripe.hxx"
-#include "PolarLabelPositionHelper.hxx"
#include "DateHelper.hxx"
#include <com/sun/star/chart2/Symbol.hpp>
diff --git a/chart2/source/view/charttypes/NetChart.cxx b/chart2/source/view/charttypes/NetChart.cxx
index 297de74d7371..76672e19bdf6 100644
--- a/chart2/source/view/charttypes/NetChart.cxx
+++ b/chart2/source/view/charttypes/NetChart.cxx
@@ -24,7 +24,6 @@
#include "macros.hxx"
#include "ViewDefines.hxx"
#include "ObjectIdentifier.hxx"
-#include "Splines.hxx"
#include "ChartTypeHelper.hxx"
#include "LabelPositionHelper.hxx"
#include "Clipping.hxx"
@@ -58,7 +57,6 @@ NetChart::NetChart( const uno::Reference<XChartType>& xChartTypeModel
, m_pMainPosHelper(pPlottingPositionHelper)
, m_bArea(!bNoArea)
, m_bLine(bNoArea)
- , m_bSymbol( ChartTypeHelper::isSupportingSymbolProperties(xChartTypeModel,nDimensionCount) )
, m_xSeriesTarget(0)
, m_xTextTarget(0)
{
@@ -657,7 +655,7 @@ void NetChart::createShapes()
if( !bIsVisible )
continue;
- Symbol* pSymbolProperties = m_bSymbol ? (*aSeriesIter)->getSymbolProperties( nIndex ) : 0;
+ Symbol* pSymbolProperties = (*aSeriesIter)->getSymbolProperties( nIndex );
bool bCreateSymbol = pSymbolProperties && (pSymbolProperties->Style != SymbolStyle_NONE);
if( !bCreateSymbol && !pSeries->getDataPointLabelIfLabel(nIndex) )
diff --git a/chart2/source/view/charttypes/NetChart.hxx b/chart2/source/view/charttypes/NetChart.hxx
index 3452241b9253..6b3a73fc94e0 100644
--- a/chart2/source/view/charttypes/NetChart.hxx
+++ b/chart2/source/view/charttypes/NetChart.hxx
@@ -69,7 +69,6 @@ private: //member
bool m_bArea;//false -> line or symbol only
bool m_bLine;
- bool m_bSymbol;
::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShapes > m_xSeriesTarget;