diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-30 16:19:26 +0000 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2017-12-01 11:47:01 +0100 |
commit | 0471edee5f47c6bca74895b7b9f8968a922cb954 (patch) | |
tree | 84720f1fc01e0f80777c00d38bc42d22279b36bb | |
parent | 664d40fb24bf500a22efd1f1aff58a96b3c3cf2c (diff) |
Resolves: tdf#114112 sort 'select' list
Change-Id: I0b80b2f7e8377f92a397b6557d2c3fad3e63f16a
Reviewed-on: https://gerrit.libreoffice.org/45607
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-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"); |