[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 12 08:51:40 UTC 2018


 sw/source/ui/config/optload.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit a0afd5c0ac40ce245b97b832785b19f8005b8cc6
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 11 17:26:00 2018 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Dec 12 09:51:13 2018 +0100

    GetEntryCount is 0 at ctor time
    
    Change-Id: I01ae503df29dbce12b10d661072a7a45e2336d2e
    Reviewed-on: https://gerrit.libreoffice.org/64988
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 4b763ec85ee7..c3a40f6ec805 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -944,12 +944,6 @@ void SwCaptionOptPage::InvalidatePreview()
 CaptionComboBox::CaptionComboBox(vcl::Window* pParent, WinBits nStyle)
     : ComboBox(pParent, nStyle)
 {
-    // create administration for the resource's Stringlist
-    sal_Int32 nSize = GetEntryCount();
-    for( sal_Int32 i=0; i < nSize; ++i )
-    {
-        m_EntryList.push_back(ComboBox::GetEntry(i));
-    }
 }
 
 CaptionComboBox::~CaptionComboBox()


More information about the Libreoffice-commits mailing list