l10ntools/source/lngmerge.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 843b7b614eaf624fcc19535e5d444bb40bc382be Author: Zolnai Tamás <zolnaitamas2...@gmail.com> Date: Sun Mar 24 01:07:51 2013 +0100 qtz length changed, use this length dynamically Change-Id: I2935ff0c1114f1b3e690fd6f86441a180566fd32 diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx index 001ff83..3658044 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 == "-" ))) {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits