summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-02 07:12:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 08:19:41 +0200
commit111b05e412f278037b3c1a852b4ab6d9fca461f9 (patch)
tree39ef8f78487edf79b5613f2d4453ee0903db5ba5 /starmath
parent45898370bcf0dfb8bd303dc0922ebae604d59224 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/dialog.cxx2
-rw-r--r--starmath/source/mathmlimport.cxx2
-rw-r--r--starmath/source/parse.cxx2
3 files changed, 3 insertions, 3 deletions
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 },