[Libreoffice-commits] .: Branch 'libreoffice-4-0' - svl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 21 07:41:24 PST 2013


 svl/source/numbers/zformat.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e30f57fa1804d3c77cddfca897787d16fbe508da
Author: Joren De Cuyper <joren.libreoffice at telenet.be>
Date:   Sat Jan 19 14:55:28 2013 +0100

    resolve fdo#59240 - FORMATTING: Thai number shown as Arabic numerals
    
    Change-Id: Ia0d1089d90a6b2196d45da63afbb7d8fa80e4658
    Reviewed-on: https://gerrit.libreoffice.org/1770
    Reviewed-by: Petr Mladek <pmladek at suse.cz>
    Tested-by: Petr Mladek <pmladek at suse.cz>

diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 3f47265..b9dfc17 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -5282,7 +5282,7 @@ void SvNumberformat::impTransliterateImpl(OUStringBuffer& rStr,
     com::sun::star::lang::Locale aLocale( LanguageTag( rNum.GetLang() ).getLocale() );
 
     OUString sTemp(rStr.makeStringAndClear());
-    GetFormatter().GetNatNum()->getNativeNumberString( sTemp, aLocale, rNum.GetNatNum() );
+    sTemp = GetFormatter().GetNatNum()->getNativeNumberString( sTemp, aLocale, rNum.GetNatNum() );
     rStr.append(sTemp);
 }
 


More information about the Libreoffice-commits mailing list