diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-05 21:01:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-05 21:11:46 +0100 |
commit | 0825c92c0b9ffc2cc28aa4e3a17fdfdbee5e5e39 (patch) | |
tree | 87630844cf002ad76c7515783ccad0b42e6aca59 /vbahelper | |
parent | f121e10c0f5e95037acdfb65a3cda6ab64e95f78 (diff) |
coverity#708570 Uninitialized scalar field
Change-Id: I0b5a12181d67db6b096807b7b32836214c71ebc8
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/msforms/vbalistbox.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vbahelper/source/msforms/vbalistbox.cxx b/vbahelper/source/msforms/vbalistbox.cxx index c3fdcf329a05..28aa43556a77 100644 --- a/vbahelper/source/msforms/vbalistbox.cxx +++ b/vbahelper/source/msforms/vbalistbox.cxx @@ -32,7 +32,9 @@ const static OUString SELECTEDITEMS( "SelectedItems" ); const static OUString ITEMS( "StringItemList" ); -ScVbaListBox::ScVbaListBox( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< css::uno::XInterface >& xControl, const uno::Reference< frame::XModel >& xModel, AbstractGeometryAttributes* pGeomHelper ) : ListBoxImpl_BASE( xParent, xContext, xControl, xModel, pGeomHelper ) +ScVbaListBox::ScVbaListBox( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< css::uno::XInterface >& xControl, const uno::Reference< frame::XModel >& xModel, AbstractGeometryAttributes* pGeomHelper ) + : ListBoxImpl_BASE(xParent, xContext, xControl, xModel, pGeomHelper) + : m_nIndex(0) { mpListHelper.reset( new ListControlHelper( m_xProps ) ); } |