diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-05 23:21:43 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-06 13:11:28 -0500 |
commit | 3335880d97a3e1a29c0fa9b7b78272eb8678de0b (patch) | |
tree | b9f8564ab6f10b15ef9c3279b8c9672afda3136f /starmath | |
parent | coverity#708236: Unitialized scalar field (diff) | |
download | core-3335880d97a3e1a29c0fa9b7b78272eb8678de0b.tar.gz core-3335880d97a3e1a29c0fa9b7b78272eb8678de0b.zip |
coverity#708233: Unitialized scalar field
Change-Id: Ifd24c4520f1c445af5443ed8e81bb6c6c47cd64c
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathmlimport.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 191cdb2f1de2..7f395b6fec04 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -1517,8 +1517,10 @@ protected: public: SmXMLUnderContext_Impl(SmXMLImport &rImport,sal_uInt16 nPrefix, - const OUString& rLName) - : SmXMLSubContext_Impl(rImport,nPrefix,rLName) {} + const OUString& rLName) + : SmXMLSubContext_Impl(rImport,nPrefix,rLName) + , nAttrCount( 0 ) + {} void StartElement(const uno::Reference< xml::sax::XAttributeList > &xAttrList ) SAL_OVERRIDE; void EndElement() SAL_OVERRIDE; |