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

New commits:
commit e30f57fa1804d3c77cddfca897787d16fbe508da
Author: Joren De Cuyper <[email protected]>
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 <[email protected]>
    Tested-by: Petr Mladek <[email protected]>

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);
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to