summaryrefslogtreecommitdiff
path: root/sal/rtl/math.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-01 19:53:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 07:09:56 +0200
commitd563b9a5960e9bfe7077ee5aca44966d0bb3e2f1 (patch)
tree7d38488da147e8592ee70d8700ba702f2a626112 /sal/rtl/math.cxx
parent434391237010c94d54d89ad7f2ecef3638a772a0 (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: sal
Change-Id: I022f5ed37d25f2c8a8870033bab32ff59d4d8da6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97648 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/rtl/math.cxx')
-rw-r--r--sal/rtl/math.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx
index 981009aa036c..1115b6f174c8 100644
--- a/sal/rtl/math.cxx
+++ b/sal/rtl/math.cxx
@@ -42,8 +42,8 @@
#include <dtoa.h>
-static int const n10Count = 16;
-static double const n10s[2][n10Count] = {
+int const n10Count = 16;
+double const n10s[2][n10Count] = {
{ 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8,
1e9, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16 },
{ 1e-1, 1e-2, 1e-3, 1e-4, 1e-5, 1e-6, 1e-7, 1e-8,