l10ntools/source/lngmerge.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 60795da6a87f751e69eaf5f731c86d45a040a97e
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Dec 1 14:55:54 2011 +0000

    fix broken .ulf translations
    
    some loon ran a little amock (*cough*)

diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx
index a641528..f07e13e 100644
--- a/l10ntools/source/lngmerge.cxx
+++ b/l10ntools/source/lngmerge.cxx
@@ -189,7 +189,7 @@ void LngParser::ReadLine( const ByteString &sLine_in , 
ByteStringHashMap &rText_
 {
    rtl::OString sLang = getToken(sLine_in, 0, '=');
    sLang = comphelper::string::stripStart(sLang, ' ');
-   sLang = comphelper::string::stripStart(sLang, ' ');
+   sLang = comphelper::string::stripEnd(sLang, ' ');
    rtl::OString sText = getToken(getToken(sLine_in, 1, '\"'), 0, '\"');
    if (!sLang.isEmpty())
        rText_inout[ sLang ] = sText;
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to