summaryrefslogtreecommitdiff
path: root/svtools/source/config
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-09 15:40:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-09 15:40:36 +0100
commit188b3b6dfd8353a02652f21c03ff125bcca7938e (patch)
treed5a1393f2ef7b69c8dc92ab6f5a7fc168c8fda80 /svtools/source/config
parentf55079f4efa035ec556a421bd88db8aea2a0cdfb (diff)
New loplugin:externvar: svtools
Change-Id: I2fc934db85c133f69b4e1092b50fc8e053798c4d
Diffstat (limited to 'svtools/source/config')
-rw-r--r--svtools/source/config/colorcfg.cxx2
-rw-r--r--svtools/source/config/extcolorcfg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 3e28171fe614..ca7c3fcd0c30 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -52,7 +52,7 @@ static const char g_sIsVisible[] = "/IsVisible";
namespace svtools
{
-sal_Int32 nColorRefCount_Impl = 0;
+static sal_Int32 nColorRefCount_Impl = 0;
namespace
{
struct ColorMutex_Impl
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index 07ba461c310b..ac6bce26a9f7 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -48,7 +48,7 @@ using namespace com::sun::star;
namespace svtools
{
-sal_Int32 nExtendedColorRefCount_Impl = 0;
+static sal_Int32 nExtendedColorRefCount_Impl = 0;
namespace
{
struct ColorMutex_Impl