[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sw/source

Caolán McNamara caolanm at redhat.com
Fri Dec 1 01:12:41 UTC 2017


 sw/source/ui/fldui/fldvar.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 26cd0bb46559c01e1a871098efb385f57ea6de43
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 30 16:19:26 2017 +0000

    Resolves: tdf#114112 sort 'select' list
    
    Change-Id: I0b80b2f7e8377f92a397b6557d2c3fad3e63f16a
    Reviewed-on: https://gerrit.libreoffice.org/45608
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx
index b9dbc7541054..0639f193de7d 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");


More information about the Libreoffice-commits mailing list