diff options
author | Eike Rathke <ooo@erack.de> | 2011-08-04 23:42:56 +0200 |
---|---|---|
committer | Eike Rathke <ooo@erack.de> | 2011-08-05 12:32:37 +0200 |
commit | 6e260f61494a21e45513d339688e05c9799a6aa6 (patch) | |
tree | d7501306cf2982267d3bfcc1b18ac0493f7b0cbf | |
parent | c3da6532d3550b8cfa41cdad52c9812917db63dc (diff) |
fdo#38956 related changes in split components repository to support LCID changes
-rw-r--r-- | cui/source/tabpages/numfmt.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index 03fb70608..b92831e41 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()); |