diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 12:55:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 14:43:29 +0000 |
commit | ba74c03f4a15d2f0f2ca20d1350128449c1405c2 (patch) | |
tree | 47c3e143d69dfbb821c4a65720e1742ccba23da1 /sfx2 | |
parent | c9bb64be4f8ef475491b1fd13aff31daa5ff682b (diff) |
coverity#708153 Uninitialized scalar field
Change-Id: Ifd4e3f792a01d0f806b9d49355463eae79b877ab
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/bastyp/sfxhtml.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx index 8e95e568e73e..f06cbc87c61b 100644 --- a/sfx2/source/bastyp/sfxhtml.cxx +++ b/sfx2/source/bastyp/sfxhtml.cxx @@ -63,9 +63,11 @@ static HTMLOptionEnum const aAreaShapeOptEnums[] = }; SfxHTMLParser::SfxHTMLParser( SvStream& rStream, sal_Bool bIsNewDoc, - SfxMedium *pMed ) : - HTMLParser( rStream, bIsNewDoc ), - pMedium( pMed ), pDLMedium( 0 ) + SfxMedium *pMed ) + : HTMLParser(rStream, bIsNewDoc) + , pMedium(pMed) + , pDLMedium(0) + , eScriptType(STARBASIC) { DBG_ASSERT( RTL_TEXTENCODING_UTF8 == GetSrcEncoding( ), "SfxHTMLParser::SfxHTMLParser: From where comes ZS?" ); |