From 111b05e412f278037b3c1a852b4ab6d9fca461f9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 2 Jul 2020 07:12:33 +0200 Subject: Upcoming improved loplugin:staticanonymous -> redundantstatic: starmath Change-Id: I755e3bef5be3df25b4f1f5887d9b0d2addf13ccf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97692 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- starmath/source/dialog.cxx | 2 +- starmath/source/mathmlimport.cxx | 2 +- starmath/source/parse.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'starmath') diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 77fc823ba17c..6a2c9e628525 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -545,7 +545,7 @@ struct FieldMinMax // Data for min and max values of the 4 metric fields // for each of the 10 categories -static const FieldMinMax pMinMaxData[10][4] = +const FieldMinMax pMinMaxData[10][4] = { // 0 {{ 0, 200 }, { 0, 200 }, { 0, 100 }, { 0, 0 }}, diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 6ae00afbb92e..b7db6414657f 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -1977,7 +1977,7 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL SmXMLFlatDocContext_Imp } } -static const SvXMLTokenMapEntry aColorTokenMap[] = +const SvXMLTokenMapEntry aColorTokenMap[] = { { XML_NAMESPACE_MATH, XML_BLACK, TBLACK}, { XML_NAMESPACE_MATH, XML_WHITE, TWHITE}, diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 67512e4a44eb..fd9bdfec262e 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -65,7 +65,7 @@ SmToken::SmToken(SmTokenType eTokenType, } //Definition of math keywords -static const SmTokenTableEntry aTokenTable[] = +const SmTokenTableEntry aTokenTable[] = { { "abs", TABS, '\0', TG::UnOper, 13 }, { "acute", TACUTE, MS_ACUTE, TG::Attribute, 5 }, -- cgit