summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-07 13:08:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-07 13:47:03 +0100
commitf0efb472b17d1e9dfcbd673b847e6ff65c37d6dc (patch)
treea7523f59e37f9b25b69e926d570579d5cb731590 /sd
parentd666ce1848478aa2d1d441e2c2707c8ccb24c010 (diff)
coverity#708121 Uninitialized scalar field
Change-Id: I73d128c82281f252af62f0318dd1d15e11c0e9a7
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx26
1 files changed, 17 insertions, 9 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index 136bb897ebdc..aed6c619d2b7 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -68,15 +68,23 @@ PortionObj::PortionObj( const ::com::sun::star::uno::Reference< ::com::sun::star
ImplGetPortionValues( rFontCollection, sal_False );
}
-PortionObj::PortionObj( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & rXTextRange,
- sal_Bool bLast, FontCollection& rFontCollection ) :
- mnCharAttrHard ( 0 ),
- mnCharAttr ( 0 ),
- mnFont ( 0 ),
- mnAsianOrComplexFont ( 0xffff ),
- mbLastPortion ( bLast ),
- mpText ( NULL ),
- mpFieldEntry ( NULL )
+PortionObj::PortionObj(::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & rXTextRange,
+ sal_Bool bLast, 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)
+ , mnCharColor(0)
+ , mnCharAttr(0)
+ , mnCharHeight(0)
+ , mnFont(0)
+ , mnAsianOrComplexFont(0xffff)
+ , mnCharEscapement(0)
+ , mbLastPortion(bLast)
+ , mpText(NULL)
+ , mpFieldEntry(NULL)
{
OUString aString( rXTextRange->getString() );
OUString aURL;