diff options
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 }, |