diff options
Diffstat (limited to 'l10ntools/source/cfgmerge.cxx')
-rw-r--r-- | l10ntools/source/cfgmerge.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx index 98778a78b19e..63f4a8f01acf 100644 --- a/l10ntools/source/cfgmerge.cxx +++ b/l10ntools/source/cfgmerge.cxx @@ -356,7 +356,7 @@ CfgExport::~CfgExport() void CfgExport::WorkOnResourceEnd() { if ( bLocalize ) { - if ( pStackData->sText[OString(RTL_CONSTASCII_STRINGPARAM("en-US"))].getLength() ) + if ( !pStackData->sText["en-US"].isEmpty() ) { OString sXComment = pStackData->sText[OString(RTL_CONSTASCII_STRINGPARAM("x-comment"))]; OString sLocalId = pStackData->sIdentifier; @@ -385,7 +385,7 @@ void CfgExport::WorkOnText( const OString &rIsoLang ) { - if( rIsoLang.getLength() ) rText = helper::UnQuotHTML( rText ); + if( !rIsoLang.isEmpty() ) rText = helper::UnQuotHTML( rText ); } @@ -409,7 +409,7 @@ CfgMerge::CfgMerge( std::exit(EXIT_FAILURE); } - if (rMergeSource.getLength()) + if (!rMergeSource.isEmpty()) { pMergeDataFile = new MergeDataFile( rMergeSource, global::inputPathname, true ); |