summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-07 14:03:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-07 14:04:45 +0100
commit5f33f600f962c2cfaa1ed4994dbc3209a7b09813 (patch)
tree2ddf9a3e6edcb24401006cde512358bbbb873b67
parent7c5955d858f3d92cd3be2411d0b13919e5d5ab98 (diff)
-Werror=unused-but-set-variable
since b2fb84499e1f75735e8fd90bc2eece3fed9af5f6 "loplugin:write only fields" Change-Id: I610e88373ebca576e5607b224ad648c1d3e47bab
-rw-r--r--chart2/source/controller/accessibility/AccessibleChartShape.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleChartShape.cxx b/chart2/source/controller/accessibility/AccessibleChartShape.cxx
index eae6d00c97df..3dc509b46273 100644
--- a/chart2/source/controller/accessibility/AccessibleChartShape.cxx
+++ b/chart2/source/controller/accessibility/AccessibleChartShape.cxx
@@ -48,11 +48,6 @@ AccessibleChartShape::AccessibleChartShape(
{
xParent.set( rAccInfo.m_pParent );
}
- sal_Int32 nIndex = -1;
- if ( rAccInfo.m_spObjectHierarchy )
- {
- nIndex = rAccInfo.m_spObjectHierarchy->getIndexInParent( rAccInfo.m_aOID );
- }
::accessibility::AccessibleShapeInfo aShapeInfo( xShape, xParent );
m_aShapeTreeInfo.SetSdrView( rAccInfo.m_pSdrView );