summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/cfgmerge.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx
index ebe8487aa599..0c1167da1a3b 100644
--- a/l10ntools/source/cfgmerge.cxx
+++ b/l10ntools/source/cfgmerge.cxx
@@ -234,8 +234,8 @@ void CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken )
if ( sSearch == "cfg:name=" ) {
OString sTemp( sToken.toAsciiUpperCase() );
- bLocalize = (( sTemp.indexOf( "CFG:TYPE=\"STRING\"" ) != -1 ) &&
- ( sTemp.indexOf( "CFG:LOCALIZED=\"sal_True\"" ) != -1 ));
+ bLocalize = sTemp.indexOf("CFG:TYPE=\"STRING\"")>=0
+ && sTemp.indexOf( "CFG:LOCALIZED=\"TRUE\"" )>=0;
}
}
else if ( sTokenName == "label" ) {