[Libreoffice-commits] core.git: starmath/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 2 06:20:22 UTC 2020
starmath/source/dialog.cxx | 2 +-
starmath/source/mathmlimport.cxx | 2 +-
starmath/source/parse.cxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 111b05e412f278037b3c1a852b4ab6d9fca461f9
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 2 07:12:33 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 2 08:19:41 2020 +0200
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 at redhat.com>
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 },
More information about the Libreoffice-commits
mailing list