summaryrefslogtreecommitdiff
path: root/chart2/source/view
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-23 09:30:48 +0200
committerNoel Grandin <noel@peralex.com>2015-12-23 09:38:46 +0200
commitc5458af9051c7c3579a381592a14af725691f88c (patch)
tree8daf61dd8eeb4e7b2fea937929f4b85cf2a5e29d /chart2/source/view
parent395815caa6be493d0831a61ba3de4e7d5ba4ae1d (diff)
loplugin:unusedfields in chart2
Change-Id: I8203f84ad8b138932c990032e17ea5d2daf384bb
Diffstat (limited to 'chart2/source/view')
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx2
-rw-r--r--chart2/source/view/charttypes/NetChart.hxx2
-rw-r--r--chart2/source/view/main/DummyXShape.cxx9
-rw-r--r--chart2/source/view/main/DummyXShape.hxx11
-rw-r--r--chart2/source/view/main/OpenglShapeFactory.cxx9
5 files changed, 9 insertions, 24 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 4f92b2a2b540..ddbe39a3d8f7 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -220,8 +220,6 @@ private:
void ProcessClickFlyBack();
void AutoMoveToBar();
private:
- glm::vec3 maStartPos;
- glm::vec3 maEndPos;
bool mbAutoFlyExecuting;
bool mbExecuting;
bool mbNeedFlyBack;
diff --git a/chart2/source/view/charttypes/NetChart.hxx b/chart2/source/view/charttypes/NetChart.hxx
index 68909acea3ac..298c91e97211 100644
--- a/chart2/source/view/charttypes/NetChart.hxx
+++ b/chart2/source/view/charttypes/NetChart.hxx
@@ -73,8 +73,6 @@ private: //member
::com::sun::star::drawing::XShapes > m_xSeriesTarget;
::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShapes > m_xTextTarget;
- ::com::sun::star::uno::Reference<
- ::com::sun::star::drawing::XShapes > m_xRegressionCurveEquationTarget;
};
} //namespace chart
#endif
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index efadcbc1ff12..fee3e34b0fff 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -453,9 +453,8 @@ void DummyPieSegment2D::render()
}
-DummyStripe::DummyStripe(const Stripe& rStripe, const uno::Reference< beans::XPropertySet > & xPropSet,
- const tPropertyNameMap& rPropertyNameMap ):
- maStripe(rStripe)
+DummyStripe::DummyStripe(const uno::Reference< beans::XPropertySet > & xPropSet,
+ const tPropertyNameMap& rPropertyNameMap )
{
setProperties(xPropSet, rPropertyNameMap, maProperties);
}
@@ -997,9 +996,7 @@ void SAL_CALL DummyGroup2D::setSize( const awt::Size& )
SAL_WARN("chart2.opengl", "set size on group shape");
}
-DummyGraphic2D::DummyGraphic2D(const drawing::Position3D& rPos, const drawing::Direction3D& rSize,
- const uno::Reference< graphic::XGraphic >& rGraphic ):
- mxGraphic(rGraphic)
+DummyGraphic2D::DummyGraphic2D(const drawing::Position3D& rPos, const drawing::Direction3D& rSize)
{
setPosition(Position3DToAWTPoint(rPos));
setSize(Direction3DToAWTSize(rSize));
diff --git a/chart2/source/view/main/DummyXShape.hxx b/chart2/source/view/main/DummyXShape.hxx
index 79d31c574db4..993b96ec6ac8 100644
--- a/chart2/source/view/main/DummyXShape.hxx
+++ b/chart2/source/view/main/DummyXShape.hxx
@@ -231,11 +231,8 @@ class DummyPieSegment : public DummyXShape {};
class DummyStripe : public DummyXShape
{
public:
- DummyStripe(const Stripe& rStripe, const css::uno::Reference< css::beans::XPropertySet > & xPropSet,
+ DummyStripe(const css::uno::Reference< css::beans::XPropertySet > & xPropSet,
const tPropertyNameMap& rPropertyNameMap );
-
-private:
- Stripe maStripe;
};
class DummyArea3D : public DummyXShape {};
@@ -265,11 +262,7 @@ private:
class DummyGraphic2D : public DummyXShape
{
public:
- DummyGraphic2D(const css::drawing::Position3D& rPosition, const css::drawing::Direction3D& rSize,
- const css::uno::Reference< css::graphic::XGraphic >& rGraphic );
-
-private:
- css::uno::Reference< css::graphic::XGraphic > mxGraphic;
+ DummyGraphic2D(const css::drawing::Position3D& rPosition, const css::drawing::Direction3D& rSize );
};
class DummyCircle : public DummyXShape
diff --git a/chart2/source/view/main/OpenglShapeFactory.cxx b/chart2/source/view/main/OpenglShapeFactory.cxx
index 244855eaaab8..964adb92adbf 100644
--- a/chart2/source/view/main/OpenglShapeFactory.cxx
+++ b/chart2/source/view/main/OpenglShapeFactory.cxx
@@ -217,14 +217,14 @@ uno::Reference< drawing::XShape >
uno::Reference< drawing::XShape >
OpenglShapeFactory::createStripe( const uno::Reference< drawing::XShapes >& xTarget
- , const Stripe& rStripe
+ , const Stripe&
, const uno::Reference< beans::XPropertySet >& xSourceProp
, const tPropertyNameMap& rPropertyNameMap
, bool
, short
, bool )
{
- dummy::DummyStripe* pStripe = new dummy::DummyStripe(rStripe,
+ dummy::DummyStripe* pStripe = new dummy::DummyStripe(
xSourceProp, rPropertyNameMap);
xTarget->add(pStripe);
return pStripe;
@@ -269,10 +269,9 @@ uno::Reference< drawing::XShape >
const uno::Reference< drawing::XShapes >& xTarget
, const drawing::Position3D& rPosition
, const drawing::Direction3D& rSize
- , const uno::Reference< graphic::XGraphic >& xGraphic )
+ , const uno::Reference< graphic::XGraphic >& )
{
- dummy::DummyGraphic2D* pGraphic = new dummy::DummyGraphic2D(rPosition, rSize,
- xGraphic);
+ dummy::DummyGraphic2D* pGraphic = new dummy::DummyGraphic2D(rPosition, rSize);
xTarget->add(pGraphic);
return pGraphic;
}