[Libreoffice-commits] .: cui/source

Eike Rathke erack at kemper.freedesktop.org
Fri Aug 5 03:37:52 PDT 2011


 cui/source/tabpages/numfmt.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 6e260f61494a21e45513d339688e05c9799a6aa6
Author: Eike Rathke <ooo at erack.de>
Date:   Thu Aug 4 23:42:56 2011 +0200

    fdo#38956 related changes in split components repository to support LCID changes

diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 03fb706..b92831e 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -1394,6 +1394,10 @@ IMPL_LINK( SvxNumberFormatTabPage, ClickHdl_Impl, ImageButton*, pIB)
 
         if ( !nErrPos ) // Syntax ok?
         {
+            // May be sorted under a different locale if LCID was parsed.
+            if (bAdded)
+                aLbLanguage.SelectLanguage( pNumFmtShell->GetCurLanguage() );
+
             if(nCatLbSelPos==CAT_CURRENCY)
             {
                 aLbCurrency.SelectEntryPos((sal_uInt16)pNumFmtShell->GetCurrencySymbol());


More information about the Libreoffice-commits mailing list