summaryrefslogtreecommitdiff
path: root/l10ntools/source/lngmerge.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/lngmerge.cxx')
-rw-r--r--l10ntools/source/lngmerge.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx
index 001ff83b2111..36580440a4ba 100644
--- a/l10ntools/source/lngmerge.cxx
+++ b/l10ntools/source/lngmerge.cxx
@@ -249,7 +249,7 @@ sal_Bool LngParser::Merge(
rtl::OString sNewText;
pEntrys->GetText( sNewText, STRING_TYP_TEXT, sLang, sal_True );
if( sLang == "qtz" )
- sNewText = sNewText.copy(6);
+ sNewText = sNewText.copy(sNewText.indexOf("|") + 2);
if ( !sNewText.isEmpty()) {
rtl::OString *pLine = (*pLines)[ nPos ];
@@ -287,7 +287,7 @@ sal_Bool LngParser::Merge(
rtl::OString sNewText;
pEntrys->GetText( sNewText, STRING_TYP_TEXT, sCur, sal_True );
if( sCur == "qtz" )
- sNewText = sNewText.copy(6);
+ sNewText = sNewText.copy(sNewText.indexOf("|") + 2);
if (( !sNewText.isEmpty()) &&
!(( sCur.equalsL(RTL_CONSTASCII_STRINGPARAM("x-comment"))) && ( sNewText == "-" )))
{