diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-05 23:23:22 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-06 13:11:28 -0500 |
commit | 5ae49784688ebd3a37f65f1c4314ff152ba92d1a (patch) | |
tree | f5582d8a5f27d11d9d2799b665f5fceba2fa05cd /starmath | |
parent | coverity#708233: Unitialized scalar field (diff) | |
download | core-5ae49784688ebd3a37f65f1c4314ff152ba92d1a.tar.gz core-5ae49784688ebd3a37f65f1c4314ff152ba92d1a.zip |
coverity#708232: Unitialized scalar field
Change-Id: Iebde4e596975560ae5870ded89a2b51f024e8d39
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathmlimport.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 7f395b6fec04..5bbd122f309b 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -616,8 +616,13 @@ struct SmXMLContext_Helper SmXMLImportContext rContext; - SmXMLContext_Helper(SmXMLImportContext &rImport) : - nIsBold(-1), nIsItalic(-1), nFontSize(0.0), rContext(rImport) {} + SmXMLContext_Helper(SmXMLImportContext &rImport) + : nIsBold( -1 ) + , nIsItalic( -1 ) + , nFontSize( 0.0 ) + , bFontNodeNeeded( false ) + , rContext( rImport ) + {} void RetrieveAttrs(const uno::Reference< xml::sax::XAttributeList > &xAttrList ); void ApplyAttrs(); |