diff options
-rw-r--r-- | l10ntools/source/merge.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index 63b212cbbd8f..6752c7fb704c 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -280,6 +280,8 @@ MergeDataFile::MergeDataFile( const OString &rFileName, const OString &rFile, bool bCaseSensitive, bool bWithQtz ) { + OString sEnableReleaseBuild(getenv("ENABLE_RELEASE_BUILD")); + std::ifstream aInputStream( rFileName.getStr() ); if ( !aInputStream.is_open() ) { @@ -371,7 +373,7 @@ MergeDataFile::MergeDataFile( bFirstLang, bCaseSensitive ); if( bFirstLang && bWithQtz && - ( strcmp(getenv("ENABLE_RELEASE_BUILD"),"TRUE") ) ) + !sEnableReleaseBuild.equals("TRUE") ) { aLanguageSet.insert("qtz"); InsertEntry( |