summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-09 12:24:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-09 12:24:53 +0100
commita783c7ce72c6dc306dcd39868c9bf41d9dc886e0 (patch)
treec64d7b83ca03346cd9f9a37eaf63442d97eb7b85
parentd2c3297eed9917c110da67b2a4c19265aecb38ed (diff)
Resolves: fdo#67947 charsets not sorted in csv dialog
regression since 538ba011d7b598737c898cfcce1e0d7b00b40c84 Change-Id: I260819681dfd47435d8edf5fd97c873238c5d808
-rw-r--r--sc/source/ui/dbgui/scuiasciiopt.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx
index 07d063a6f25d..fd44245b9a30 100644
--- a/sc/source/ui/dbgui/scuiasciiopt.cxx
+++ b/sc/source/ui/dbgui/scuiasciiopt.cxx
@@ -252,8 +252,10 @@ ScImportAsciiDlg::ScImportAsciiDlg( Window* pParent,String aDatName,
{
get(pFtCharSet, "textcharset");
get(pLbCharSet, "charset");
+ pLbCharSet->SetStyle(pLbCharSet->GetStyle() | WB_SORT);
get(pFtCustomLang, "textlanguage");
get(pLbCustomLang, "language");
+ pLbCustomLang->SetStyle(pLbCustomLang->GetStyle() | WB_SORT);
get(pFtRow, "textfromrow");
get(pNfRow, "fromrow");
get(pRbFixed, "tofixedwidth");