summaryrefslogtreecommitdiff
path: root/l10ntools/source/xrmmerge.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/xrmmerge.cxx')
-rw-r--r--l10ntools/source/xrmmerge.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx
index 012d916d92d7..218765ba8b8c 100644
--- a/l10ntools/source/xrmmerge.cxx
+++ b/l10ntools/source/xrmmerge.cxx
@@ -472,7 +472,7 @@ void XRMResMerge::WorkOnDesc(
if ( !sCur.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("en-US")) &&
( pEntrys->GetText(
sContent, STRING_TYP_TEXT, sCur, sal_True )) &&
- ( sContent != "-" ) && !sContent.isEmpty())
+ !sContent.isEmpty())
{
OString sText( sContent );
OString sAdditionalLine( "\n " );
@@ -547,8 +547,7 @@ void XRMResMerge::WorkOnText(
OString sContent;
if ( !sLang.equalsIgnoreAsciiCase("en-US") &&
( pEntrys->GetText(
- sContent, STRING_TYP_TEXT, sLang )) &&
- ( sContent != "-" ) && !sContent.isEmpty() &&
+ sContent, STRING_TYP_TEXT, sLang )) && !sContent.isEmpty() &&
helper::isWellFormedXML( sContent ))
{
rText = sContent;
@@ -584,7 +583,7 @@ void XRMResMerge::EndOfText(
if (!sCur.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("en-US")) &&
( pEntrys->GetText(
sContent, STRING_TYP_TEXT, sCur, sal_True )) &&
- ( sContent != "-" ) && !sContent.isEmpty() &&
+ !sContent.isEmpty() &&
helper::isWellFormedXML( sContent ))
{
OString sText( sContent );