From d5f2ba9a3ebf952cb237141dae33ba9fc06ddabd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 9 Jan 2017 15:42:29 +0100 Subject: New loplugin:externvar: l10ntools Change-Id: I7bfad0dfff95667a33b48dfe2354a8f0ffc5060d --- l10ntools/source/uimerge.cxx | 4 ++-- l10ntools/source/xrmmerge.cxx | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/l10ntools/source/uimerge.cxx b/l10ntools/source/uimerge.cxx index 5b05dc9afec8..dd334de13fa5 100644 --- a/l10ntools/source/uimerge.cxx +++ b/l10ntools/source/uimerge.cxx @@ -29,8 +29,8 @@ #include #include -OString sInputFileName; -OString sOutputFile; +static OString sInputFileName; +static OString sOutputFile; int extractTranslations() { diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx index 0feb4e023815..2bebcfeb4d4d 100644 --- a/l10ntools/source/xrmmerge.cxx +++ b/l10ntools/source/xrmmerge.cxx @@ -40,16 +40,16 @@ using namespace std; void yyerror( const char * ); // set of global variables -bool bMergeMode; -bool bDisplayName; -bool bExtensionDescription; -OString sLanguage; -OString sInputFileName; -OString sOutputFile; -OString sMergeSrc; -OString sLangAttribute; -OString sResourceType; -XRMResParser *pParser = nullptr; +static bool bMergeMode; +static bool bDisplayName; +static bool bExtensionDescription; +static OString sLanguage; +static OString sInputFileName; +static OString sOutputFile; +static OString sMergeSrc; +static OString sLangAttribute; +static OString sResourceType; +static XRMResParser *pParser = nullptr; extern "C" { // the whole interface to lexer is in this extern "C" section -- cgit