From 5acc994f4ed3e118453fb493226b751a6d9d3bce Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Sat, 13 Apr 2013 06:37:05 +0200 Subject: Remove obsolote 'empty string -> "-"' behaviour Change-Id: I1d81d4c5716c397b84c0a8959b21beacbbbf1138 --- l10ntools/source/cfgmerge.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'l10ntools/source/cfgmerge.cxx') diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx index 44f9896e5361..dcbcfb94957a 100644 --- a/l10ntools/source/cfgmerge.cxx +++ b/l10ntools/source/cfgmerge.cxx @@ -500,8 +500,7 @@ void CfgMerge::WorkOnText(OString &rText, const OString& rLangIndex) OString sContent; pEntrys->GetText( sContent, STRING_TYP_TEXT, rLangIndex ); - if ( !rLangIndex.equalsIgnoreAsciiCase("en-US") && - ( sContent != "-" ) && !sContent.isEmpty()) + if ( !rLangIndex.equalsIgnoreAsciiCase("en-US") && !sContent.isEmpty()) { rText = helper::QuotHTML( rText ); } @@ -530,9 +529,7 @@ void CfgMerge::WorkOnResourceEnd() OString sContent; pEntrys->GetText( sContent, STRING_TYP_TEXT, sCur , sal_True ); if ( - ( !sCur.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("en-US")) ) && - - ( sContent != "-" ) && !sContent.isEmpty()) + ( !sCur.equalsIgnoreAsciiCase("en-US") ) && !sContent.isEmpty()) { OString sText = helper::QuotHTML( sContent); -- cgit