[PATCH] resolve fdo#59240 - FORMATTING: Thai number shown as Arabic ...

Joren De Cuyper (via Code Review) gerrit at gerrit.libreoffice.org
Sat Jan 19 05:32:00 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1769

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/69/1769/1

resolve fdo#59240 - FORMATTING: Thai number shown as Arabic numerals

Change-Id: I6123f8924d7502d3b97b3254ce4e5df724e4370d
---
M svl/source/numbers/zformat.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 01f38a2..9709110 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -5282,7 +5282,7 @@
     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);
 }
 

-- 
To view, visit https://gerrit.libreoffice.org/1769
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6123f8924d7502d3b97b3254ce4e5df724e4370d
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Joren De Cuyper <joren.libreoffice at telenet.be>



More information about the LibreOffice mailing list