diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 14:17:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 15:11:56 +0000 |
commit | a9102eba62f88bc749339cd23a0dba0d4bd9bd7a (patch) | |
tree | 622e0e49a15af32bd35f8f21140c9410a6ce9491 /include | |
parent | 92d0dabd505d0c44aa275469119e3fb6d7c62717 (diff) |
coverity#707781 Uninitialized scalar field
Change-Id: Ic29735bc125b2b9e662e97402dfccf72f7dedb5d
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/svdfppt.hxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index f76123abcb68..286c1a07e41e 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -366,12 +366,14 @@ struct PPTOleEntry sal_uInt16 nType; // maybe PPT_PST_ExEmbed or PPT_PST_ExControl sal_uInt32 nAspect; // the aspect of the OLE object - PPTOleEntry( sal_uInt32 nid, sal_uInt32 nOfs, SfxObjectShell* pSh, sal_uInt16 nT, sal_uInt32 nAsp ) : - nId ( nid ), - nRecHdOfs ( nOfs ), - pShell ( pSh ), - nType ( nT ), - nAspect ( nAsp ) {} + PPTOleEntry( sal_uInt32 nid, sal_uInt32 nOfs, SfxObjectShell* pSh, sal_uInt16 nT, sal_uInt32 nAsp ) + : nId(nid) + , nPersistPtr(0) + , nRecHdOfs(nOfs) + , pShell(pSh) + , nType(nT) + , nAspect(nAsp) + {} }; struct PptExOleObjAtom |