diff options
author | Eike Rathke <ooo@erack.de> | 2011-08-04 23:42:56 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-05 12:13:22 +0100 |
commit | 5a64033846b05c160a44a37def133e6b5284fc0d (patch) | |
tree | 9186a532455e93c3e75a70a4a423a80586da5c16 | |
parent | 4de48205dc3108f7aaaf2aaa937a05c204b8572e (diff) |
fdo#38956 related changes in split components repository to support LCID changes
(cherry picked from commit 6e260f61494a21e45513d339688e05c9799a6aa6)
-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()); |