coverity#708728 Uninitialized scalar field

Change-Id: Ic5e22da988f762641daf4cc07f3b2bd0caba36f9
This commit is contained in:
Caolán McNamara 2014-03-21 10:44:09 +00:00
parent 1287c3cd6e
commit 1f22471174

View File

@ -53,12 +53,20 @@ struct Style
OUString _id;
inline Style( short all_ ) SAL_THROW(())
: _fontRelief( css::awt::FontRelief::NONE )
, _fontEmphasisMark( css::awt::FontEmphasisMark::NONE )
, _all( all_ )
, _set( 0 )
{}
Style( short all_ ) SAL_THROW(())
: _backgroundColor(0)
, _textColor(0)
, _textLineColor(0)
, _border(0)
, _borderColor(0)
, _fontRelief(css::awt::FontRelief::NONE)
, _fontEmphasisMark(css::awt::FontEmphasisMark::NONE)
, _fillColor(0)
, _visualEffect(0)
, _all(all_)
, _set(0)
{
}
css::uno::Reference< css::xml::sax::XAttributeList > createElement();
};