diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-11 20:26:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-11 21:00:55 +0100 |
commit | 0b555719403d494c40a7e12eb44e88cd28123a4f (patch) | |
tree | 05a87219cbce9ddf8c4b1f44780c6b0ecc2db5b3 /sd | |
parent | 8b135ba875a22a86d89f25bbc229cf2b7edcbe8c (diff) |
coverity#1362686 Uninitialized scalar variable
Change-Id: Ic077e3324897f427b7d509bce7884ecb5945c725
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-text.cxx | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx index 4664a8a051a2..fb10c867ef5a 100644 --- a/sd/source/filter/eppt/pptx-text.cxx +++ b/sd/source/filter/eppt/pptx-text.cxx @@ -54,16 +54,21 @@ css::uno::Reference< css::i18n::XBreakIterator > xPPTBreakIter; -PortionObj::PortionObj( const css::uno::Reference< css::beans::XPropertySet > & rXPropSet, - FontCollection& rFontCollection ) : - mnCharAttrHard ( 0 ), - mnCharAttr ( 0 ), - mnFont ( 0 ), - mnAsianOrComplexFont( 0xffff ), - mnTextSize ( 0 ), - mbLastPortion ( true ), - mpText ( nullptr ), - mpFieldEntry ( nullptr ) +PortionObj::PortionObj(const css::uno::Reference< css::beans::XPropertySet > & rXPropSet, + FontCollection& rFontCollection) + : meCharColor(css::beans::PropertyState_AMBIGUOUS_VALUE) + , meCharHeight(css::beans::PropertyState_AMBIGUOUS_VALUE) + , meFontName(css::beans::PropertyState_AMBIGUOUS_VALUE) + , meAsianOrComplexFont(css::beans::PropertyState_AMBIGUOUS_VALUE) + , meCharEscapement(css::beans::PropertyState_AMBIGUOUS_VALUE) + , mnCharAttrHard(0) + , mnCharAttr(0) + , mnFont(0) + , mnAsianOrComplexFont(0xffff) + , mnTextSize(0) + , mbLastPortion(true) + , mpText(nullptr) + , mpFieldEntry(nullptr) { mXPropSet = rXPropSet; |