summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-04-13 09:52:05 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-04-13 10:22:49 +0200
commit1e53d3b87aef18db7bce0c3990cc1403d1932fe2 (patch)
treec35cc7efa85748f7ddb89439c9ba73c991755a28 /l10ntools
parentddbf7961ef0c33672ad27af6416a69c1180e62e8 (diff)
Revert "KeyId do not contain special chars so ulfex can use it again"
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/lngmerge.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx
index 98049f5dcaaf..27c7d5d9dcb8 100644
--- a/l10ntools/source/lngmerge.cxx
+++ b/l10ntools/source/lngmerge.cxx
@@ -247,6 +247,8 @@ sal_Bool LngParser::Merge(
{
OString sNewText;
pEntrys->GetText( sNewText, STRING_TYP_TEXT, sLang, sal_True );
+ if( sLang == "qtz" )
+ sNewText = sNewText.copy(sNewText.indexOf("|") + 2);
if ( !sNewText.isEmpty()) {
OString *pLine = (*pLines)[ nPos ];
@@ -283,6 +285,8 @@ sal_Bool LngParser::Merge(
OString sNewText;
pEntrys->GetText( sNewText, STRING_TYP_TEXT, sCur, sal_True );
+ if( sCur == "qtz" )
+ sNewText = sNewText.copy(sNewText.indexOf("|") + 2);
if ( !sNewText.isEmpty() && sCur != "x-comment")
{
OString sLine;