[Libreoffice-commits] .: l10ntools/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 1 06:57:11 PST 2011
l10ntools/source/lngmerge.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 60795da6a87f751e69eaf5f731c86d45a040a97e
Author: Caolán McNamara <caolanm at 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;
More information about the Libreoffice-commits
mailing list