l10ntools/source/lngmerge.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 1e53d3b87aef18db7bce0c3990cc1403d1932fe2
Author: Zolnai Tamás <zolnaitamas2...@gmail.com>
Date:   Sat Apr 13 09:52:05 2013 +0200

    Revert "KeyId do not contain special chars so ulfex can use it again"
    
    This reverts commit 8287da2fbc09882893642b7a6e3ca555b2b956b3.

diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx
index 98049f5..27c7d5d 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to