summaryrefslogtreecommitdiff
path: root/tools/source/generic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-02 09:31:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 11:29:01 +0200
commit445537bbc2971b970bed244db40f35c9caf43ef4 (patch)
treefb3ea894e2058922245d911264ec9840385f7140 /tools/source/generic
parent076fdbdb912809614a48377ab4b86cd2e2cb228f (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: tools
Change-Id: I832fbcde277a87ab873ce3477a6886c7002e24ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97709 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'tools/source/generic')
-rw-r--r--tools/source/generic/b3dtrans.cxx4
-rw-r--r--tools/source/generic/bigint.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/generic/b3dtrans.cxx b/tools/source/generic/b3dtrans.cxx
index b8e29be31d4a..1f63cc2e381d 100644
--- a/tools/source/generic/b3dtrans.cxx
+++ b/tools/source/generic/b3dtrans.cxx
@@ -22,8 +22,8 @@
#include <osl/diagnose.h>
// Near and far clipping planes
-static constexpr double gfNearBound = 0.001;
-static constexpr double gfFarBound = 1.001;
+constexpr double gfNearBound = 0.001;
+constexpr double gfFarBound = 1.001;
// B3dTransformationSet --------------------------------------------------------
diff --git a/tools/source/generic/bigint.cxx b/tools/source/generic/bigint.cxx
index 903cf826f44a..4a1ddfff391e 100644
--- a/tools/source/generic/bigint.cxx
+++ b/tools/source/generic/bigint.cxx
@@ -28,8 +28,8 @@
/**
* The range in which we can perform add/sub without fear of overflow
*/
-static const sal_Int32 MY_MAXLONG = 0x3fffffff;
-static const sal_Int32 MY_MINLONG = -MY_MAXLONG;
+const sal_Int32 MY_MAXLONG = 0x3fffffff;
+const sal_Int32 MY_MINLONG = -MY_MAXLONG;
/*
* The algorithms for Addition, Subtraction, Multiplication and Division