diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:40:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:40:36 +0100 |
commit | 188b3b6dfd8353a02652f21c03ff125bcca7938e (patch) | |
tree | d5a1393f2ef7b69c8dc92ab6f5a7fc168c8fda80 /svtools | |
parent | f55079f4efa035ec556a421bd88db8aea2a0cdfb (diff) |
New loplugin:externvar: svtools
Change-Id: I2fc934db85c133f69b4e1092b50fc8e053798c4d
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/brwbox2.cxx | 4 | ||||
-rw-r--r-- | svtools/source/config/colorcfg.cxx | 2 | ||||
-rw-r--r-- | svtools/source/config/extcolorcfg.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/unitconv.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index f365542e3993..6704672595cc 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -1459,8 +1459,8 @@ void BrowseBox::MouseButtonUp( const MouseEvent & rEvt ) } -bool bExtendedMode = false; -bool bFieldMode = false; +static bool bExtendedMode = false; +static bool bFieldMode = false; void BrowseBox::MouseButtonDown( const BrowserMouseEvent& rEvt ) { 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 diff --git a/svtools/source/misc/unitconv.cxx b/svtools/source/misc/unitconv.cxx index acf65083136c..68dcb5f87b63 100644 --- a/svtools/source/misc/unitconv.cxx +++ b/svtools/source/misc/unitconv.cxx @@ -585,7 +585,7 @@ long Nothing( long nIn ) return nRet; } -FUNC_CONVERT ConvertTable[6][6] = +FUNC_CONVERT const ConvertTable[6][6] = { // CM, MM INCH POINT PICAS=32 TWIPS { Nothing, CMToMM, CMToInch, CMToPoint, CMToPica, CMToTwips }, |