coverity#708570 Uninitialized scalar field

Change-Id: I0b5a12181d67db6b096807b7b32836214c71ebc8
This commit is contained in:
Caolán McNamara
2014-04-05 21:01:49 +01:00
parent f121e10c0f
commit 0825c92c0b

View File

@@ -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 ) );
}