chart2/source/controller/sidebar/ChartTypePanel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a29f0554915bca051ad2fa7388c32b9c8a461099 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Mar 28 16:48:01 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Mar 28 20:07:19 2022 +0200 -Werror,-Wunused-but-set-variable ...since its uses got commented out with a9cc0100645deea53f27e35c7e754c9f062680d8 "chart2: Weld ChartTypePanel" Change-Id: I5296ba7ed746df13e8174063f148ff2ce970756c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132224 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/chart2/source/controller/sidebar/ChartTypePanel.cxx b/chart2/source/controller/sidebar/ChartTypePanel.cxx index d1d73fb3bd10..c2a88bc09a6c 100644 --- a/chart2/source/controller/sidebar/ChartTypePanel.cxx +++ b/chart2/source/controller/sidebar/ChartTypePanel.cxx @@ -230,7 +230,7 @@ void ChartTypePanel::updateData() = DiagramHelper::getTemplateForDiagram(xDiagram, xChartTypeManager); OUString aServiceName(aTemplate.sServiceName); - sal_uInt16 nM = 0; + //sal_uInt16 nM = 0; for (auto const& elem : m_aChartTypeDialogControllerList) { if (elem->isSubType(aServiceName)) @@ -239,7 +239,7 @@ void ChartTypePanel::updateData() //m_pMainTypeList->select_entry_region(nM, nM); break; } - ++nM; + //++nM; } }