diff options
author | Peter Rabi <prabi@caesar.elte.hu> | 2011-08-11 11:18:45 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-08-22 16:36:29 +0200 |
commit | 50b7733fa41879a62d35cab64da59b109e1a8502 (patch) | |
tree | f53825e29e478225873e0a4d9dd6bf6cae36f473 /sd | |
parent | 598ea329b703fcf165690dac51202ee11754790f (diff) |
Make template names appear in the correct word order
This patch turns on sorting in many listboxes containing template or region names in Impress.
Contributed under license LGPLv3+/MPL.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/dlgass.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index 44426e874589..9e4498730157 100644 --- a/sd/source/ui/dlg/dlgass.cxx +++ b/sd/source/ui/dlg/dlgass.cxx @@ -456,6 +456,7 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink, mpPage1RegionLB->SetSelectHdl(LINK(this,AssistentDlgImpl,SelectRegionHdl)); mpPage1RegionLB->SetDropDownLineCount( 6 ); mpPage1TemplateLB->SetSelectHdl(LINK(this,AssistentDlgImpl,SelectTemplateHdl)); + mpPage1TemplateLB->SetStyle(mpPage1TemplateLB->GetStyle() | WB_SORT); mpPage1TemplateLB->InsertEntry(String(SdResId(STR_ISLOADING))); mpPage1EmptyRB->SetClickHdl(LINK(this,AssistentDlgImpl,StartTypeHdl)); @@ -494,6 +495,7 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink, mpPage2RegionLB->SetSelectHdl(LINK(this,AssistentDlgImpl,SelectRegionHdl)); mpPage2RegionLB->SetDropDownLineCount( 6 ); mpPage2LayoutLB->SetSelectHdl(LINK(this,AssistentDlgImpl,SelectLayoutHdl)); + mpPage2LayoutLB->SetStyle(mpPage2LayoutLB->GetStyle() | WB_SORT); mpPage2LayoutLB->InsertEntry(String(SdResId(STR_ISLOADING))); // Seite 3 |