coverity#707879 Uninitialized scalar field

Change-Id: I618fa64876dc27a3d3ced9281f1b02b97a983166
This commit is contained in:
Caolán McNamara
2014-03-08 12:52:55 +00:00
parent e769d718b1
commit 51a954809a

View File

@@ -184,7 +184,12 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper3< ::com::sun::star::a
typedef std::vector< UIElement > UIElementVector; typedef std::vector< UIElement > UIElementVector;
struct SingleRowColumnWindowData struct SingleRowColumnWindowData
{ {
SingleRowColumnWindowData() : nVarSize( 0 ), nStaticSize( 0 ), nSpace( 0 ) {} SingleRowColumnWindowData()
: nVarSize(0)
, nStaticSize(0)
, nSpace(0)
, nRowColumn(0)
{}
std::vector< OUString > aUIElementNames; std::vector< OUString > aUIElementNames;
std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > > aRowColumnWindows; std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > > aRowColumnWindows;