summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-21 10:44:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-21 11:13:47 +0000
commit1f224711746295e6f15d1223792d69bf8971a79b (patch)
tree79e06161ccd90cb3e98bebe0dbe8fb9e479bfab0 /xmlscript
parent1287c3cd6e961bb9503aaf5becf4f515bf3ab17e (diff)
coverity#708728 Uninitialized scalar field
Change-Id: Ic5e22da988f762641daf4cc07f3b2bd0caba36f9
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmldlg_imexp/exp_share.hxx20
1 files changed, 14 insertions, 6 deletions
diff --git a/xmlscript/source/xmldlg_imexp/exp_share.hxx b/xmlscript/source/xmldlg_imexp/exp_share.hxx
index bd3aacc13f1f..5a42ad3abdc1 100644
--- a/xmlscript/source/xmldlg_imexp/exp_share.hxx
+++ b/xmlscript/source/xmldlg_imexp/exp_share.hxx
@@ -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();
};