diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-30 16:19:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-30 22:02:37 +0100 |
commit | d91e3f5fb4228b5e4c42ac2532fd84bea6cdbe7d (patch) | |
tree | 3f9653b7e6098e81a60d6df68b8beea76b3213bc /sw | |
parent | 01d64f95dc11e7f70c87a5ecdde76f916964a7bf (diff) |
Resolves: tdf#114112 sort 'select' list
Change-Id: I0b80b2f7e8377f92a397b6557d2c3fad3e63f16a
Reviewed-on: https://gerrit.libreoffice.org/45606
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/fldui/fldvar.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx index 46fd6eb88802..cf3434c42e80 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -48,6 +48,7 @@ SwFieldVarPage::SwFieldVarPage(vcl::Window* pParent, const SfxItemSet *const pCo get(m_pTypeLB, "type"); get(m_pSelection, "selectframe"); get(m_pSelectionLB, "select"); + m_pSelectionLB->SetStyle(m_pSelectionLB->GetStyle() | WB_SORT); get(m_pFormat, "formatframe"); get(m_pChapterFrame, "chapterframe"); get(m_pNameFT, "nameft"); |