summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorEike Rathke <ooo@erack.de>2011-08-04 23:42:56 +0200
committerEike Rathke <ooo@erack.de>2011-08-05 12:32:37 +0200
commita81b316c681d00e9aebad3bddf528415e6619024 (patch)
tree1dc4c754c5fffd2ee76b646a291df5627cf4ab8f /cui
parent008981b0df22843f174adcb8b8ab77806d817c3a (diff)
fdo#38956 related changes in split components repository to support LCID changes
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/numfmt.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 2fa12f871019..0295c32f93f3 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());