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/lngmerge.cxx | |
parent | 0583907f2b6a9fc5ca2a6368a1c22c803a4fe758 (diff) |
Remove obsolote 'empty string -> "-"' behaviour
Change-Id: I1d81d4c5716c397b84c0a8959b21beacbbbf1138
Diffstat (limited to 'l10ntools/source/lngmerge.cxx')
-rw-r--r-- | l10ntools/source/lngmerge.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx index f343b26c378b..273fe190f42c 100644 --- a/l10ntools/source/lngmerge.cxx +++ b/l10ntools/source/lngmerge.cxx @@ -297,8 +297,7 @@ sal_Bool LngParser::Merge( pEntrys->GetText( sNewText, STRING_TYP_TEXT, sCur, sal_True ); if( sCur == "qtz" ) sNewText = sNewText.copy(sNewText.indexOf("|") + 2); - if (( !sNewText.isEmpty()) && - !(( sCur.equalsL(RTL_CONSTASCII_STRINGPARAM("x-comment"))) && ( sNewText == "-" ))) + if ( !sNewText.isEmpty() && sCur != "x-comment") { OString sLine; sLine += sCur; |