diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-04-13 06:37:05 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-04-13 06:37:05 +0200 |
commit | 5acc994f4ed3e118453fb493226b751a6d9d3bce (patch) | |
tree | bbaf2279f3668afed81a8d0a97bb4525ff7f1dfe /l10ntools/source/cfgmerge.cxx | |
parent | 0583907f2b6a9fc5ca2a6368a1c22c803a4fe758 (diff) |
Remove obsolote 'empty string -> "-"' behaviour
Change-Id: I1d81d4c5716c397b84c0a8959b21beacbbbf1138
Diffstat (limited to 'l10ntools/source/cfgmerge.cxx')
-rw-r--r-- | l10ntools/source/cfgmerge.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
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); |