[Libreoffice-commits] core.git: chart2/source
Stephan Bergmann
sbergman at redhat.com
Mon Mar 7 13:05:05 UTC 2016
chart2/source/controller/accessibility/AccessibleChartShape.cxx | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 5f33f600f962c2cfaa1ed4994dbc3209a7b09813
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Mar 7 14:03:45 2016 +0100
-Werror=unused-but-set-variable
since b2fb84499e1f75735e8fd90bc2eece3fed9af5f6 "loplugin:write only fields"
Change-Id: I610e88373ebca576e5607b224ad648c1d3e47bab
diff --git a/chart2/source/controller/accessibility/AccessibleChartShape.cxx b/chart2/source/controller/accessibility/AccessibleChartShape.cxx
index eae6d00..3dc509b 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 );
More information about the Libreoffice-commits
mailing list