summaryrefslogtreecommitdiff
path: root/svtools/source/config
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-02 07:16:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 08:46:13 +0200
commit770ca016b9301cc02beab345f02c085e27f52e71 (patch)
treedc298ba3be11c48f27e4a2358e2869e0c33315f7 /svtools/source/config
parent699a31ec958a8fdc3ccf4a021298dd7c1c6ee714 (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: svtools
Change-Id: I947b8def12bf27093dc9ad95077c0718dec959a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97696 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/source/config')
-rw-r--r--svtools/source/config/colorcfg.cxx2
-rw-r--r--svtools/source/config/printoptions.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index d2973a1d96a1..abd6952e4783 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -42,7 +42,7 @@
using namespace utl;
using namespace com::sun::star;
-static const char g_sIsVisible[] = "/IsVisible";
+const char g_sIsVisible[] = "/IsVisible";
namespace svtools
diff --git a/svtools/source/config/printoptions.cxx b/svtools/source/config/printoptions.cxx
index bb08bb3198f3..d0e7db9e04b0 100644
--- a/svtools/source/config/printoptions.cxx
+++ b/svtools/source/config/printoptions.cxx
@@ -34,7 +34,7 @@
#include <sal/macros.h>
#include <tools/diagnose_ex.h>
-static const sal_uInt16 aDPIArray[] = { 72, 96, 150, 200, 300, 600 };
+const sal_uInt16 aDPIArray[] = { 72, 96, 150, 200, 300, 600 };
#define DPI_COUNT (SAL_N_ELEMENTS(aDPIArray))