summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-09 12:24:53 +0100
committerEike Rathke <erack@redhat.com>2013-08-09 13:01:51 +0000
commitcb991c189575fdd89b9f985ecbff3a200ffc5ea1 (patch)
tree3b0c0045e2a9c126d3e15e059ef609bbe9a3c9c1 /sc
parent447c22283f7e7d592a5653925f9c1bbc7fa3766a (diff)
Resolves: fdo#67947 charsets not sorted in csv dialog
regression since 538ba011d7b598737c898cfcce1e0d7b00b40c84 Change-Id: I260819681dfd47435d8edf5fd97c873238c5d808 (cherry picked from commit a783c7ce72c6dc306dcd39868c9bf41d9dc886e0) Reviewed-on: https://gerrit.libreoffice.org/5326 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-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");