diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-11 17:26:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-12 09:50:50 +0100 |
commit | b5f372f5517ba4fad7a38cad14684123700055b2 (patch) | |
tree | 36204c5921d9ae6089deed9467d4d6b42033ac6e /sw/source/ui/config | |
parent | 4309a966520d55125aa0ee2903907df75f5b8296 (diff) |
GetEntryCount is 0 at ctor time
Change-Id: I01ae503df29dbce12b10d661072a7a45e2336d2e
Reviewed-on: https://gerrit.libreoffice.org/64978
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r-- | sw/source/ui/config/optload.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx index 248501fe4232..e036f6f53254 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() |