diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-04-13 09:52:05 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-04-13 10:22:49 +0200 |
commit | 1e53d3b87aef18db7bce0c3990cc1403d1932fe2 (patch) | |
tree | c35cc7efa85748f7ddb89439c9ba73c991755a28 /l10ntools | |
parent | i#119446# correct condition for fields containing '.' or '/' (diff) | |
download | core-1e53d3b87aef18db7bce0c3990cc1403d1932fe2.tar.gz core-1e53d3b87aef18db7bce0c3990cc1403d1932fe2.zip |
Revert "KeyId do not contain special chars so ulfex can use it again"
This reverts commit 8287da2fbc09882893642b7a6e3ca555b2b956b3.
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/lngmerge.cxx | 4 |
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; |