diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 10:40:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 11:13:46 +0000 |
commit | 1287c3cd6e961bb9503aaf5becf4f515bf3ab17e (patch) | |
tree | 87bcadaf1550dae2dfb290c3f5801904400105dd /xmlscript/source | |
parent | 920560b6b01f83c40d952fff90a15c70f1357fbc (diff) |
coverity#708730 Uninitialized scalar field
Change-Id: I464774697703b7143c3a6b0df88aa32745824394
Diffstat (limited to 'xmlscript/source')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/imp_share.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx index 79768a0c40c9..c1b775250b40 100644 --- a/xmlscript/source/xmldlg_imexp/imp_share.hxx +++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx @@ -307,18 +307,26 @@ public: bool importVisualEffectStyle( css::uno::Reference< css::beans::XPropertySet > const & xProps ); - inline StyleElement( + StyleElement( OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) SAL_THROW(()) : ElementBase( pImport->XMLNS_DIALOGS_UID, rLocalName, xAttributes, pParent, pImport ) + , _backgroundColor(0) + , _textColor(0) + , _textLineColor(0) + , _border(0) + , _borderColor(0) , _fontRelief( css::awt::FontRelief::NONE ) , _fontEmphasisMark( css::awt::FontEmphasisMark::NONE ) + , _fillColor(0) + , _visualEffect(0) , _inited( 0 ) , _hasValue( 0 ) - {} + { + } }; class MenuPopupElement |