[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 12 08:51:18 UTC 2018
sw/source/ui/config/optload.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit b5f372f5517ba4fad7a38cad14684123700055b2
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:50:50 2018 +0100
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 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 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()
More information about the Libreoffice-commits
mailing list