[Libreoffice-commits] .: Branch 'libreoffice-3-4' - cui/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Aug 5 04:19:15 PDT 2011
cui/source/tabpages/numfmt.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 5a64033846b05c160a44a37def133e6b5284fc0d
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
(cherry picked from commit 6e260f61494a21e45513d339688e05c9799a6aa6)
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