[PATCH] Change in core[libreoffice-4-0]: resolve fdo#59240 - FORMATTING: Thai number shown as Arabic ...

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


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1770

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/70/1770/1

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

Change-Id: Ia0d1089d90a6b2196d45da63afbb7d8fa80e4658
---
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/1770
To unsubscribe, visit https://gerrit.libreoffice.org/settings

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



More information about the LibreOffice mailing list