From 9e57e164844e67faaf2b0424181c2df29e871992 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 May 2022 09:59:06 +0200 Subject: loplugin:unusedvariableplus Change-Id: Id93086be1224b6f6bf0bdaa1d50b4f289099027e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133876 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/model/template/NetChartTypeTemplate.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'chart2/source/model') diff --git a/chart2/source/model/template/NetChartTypeTemplate.cxx b/chart2/source/model/template/NetChartTypeTemplate.cxx index 5632ac648f07..7f120315bead 100644 --- a/chart2/source/model/template/NetChartTypeTemplate.cxx +++ b/chart2/source/model/template/NetChartTypeTemplate.cxx @@ -88,9 +88,6 @@ bool NetChartTypeTemplate::matchesTemplate( { bool bResult = ChartTypeTemplate::matchesTemplate( xDiagram, bAdaptProperties ); - rtl::Reference< ChartType > xChartType = - DiagramHelper::getChartTypeByIndex( xDiagram, 0 ); - if( bResult ) { //filled net chart?: -- cgit