diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 11:41:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 12:40:35 +0000 |
commit | 25f5b28f2748405b39238da8cbc19a043c79e09f (patch) | |
tree | 5ec3b121477583ebf7a89c71f9566176dba89c14 | |
parent | 04a8c9eef44eedb4ec8ae73df558e80aa118df13 (diff) |
coverity#708705 Uninitialized scalar field
Change-Id: If48058d1f5cfb1c91c996f2921381b9c74aca04e
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 5a939245d767..00b47407faab 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -234,8 +234,10 @@ sal_Bool ImpXMLAutoLayoutInfo::operator==(const ImpXMLAutoLayoutInfo& rInfo) con } ImpXMLAutoLayoutInfo::ImpXMLAutoLayoutInfo(sal_uInt16 nTyp, ImpXMLEXPPageMasterInfo* pInf) -: mnType(nTyp), - mpPageMasterInfo(pInf) + : mnType(nTyp) + , mpPageMasterInfo(pInf) + , mnGapX(0) + , mnGapY(0) { // create full info (initialze with typical values) Point aPagePos(0,0); |