summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-06 14:17:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-06 15:11:56 +0000
commita9102eba62f88bc749339cd23a0dba0d4bd9bd7a (patch)
tree622e0e49a15af32bd35f8f21140c9410a6ce9491 /include
parentcoverity#707770 Uninitialized scalar field (diff)
downloadcore-a9102eba62f88bc749339cd23a0dba0d4bd9bd7a.tar.gz
core-a9102eba62f88bc749339cd23a0dba0d4bd9bd7a.zip
coverity#707781 Uninitialized scalar field
Change-Id: Ic29735bc125b2b9e662e97402dfccf72f7dedb5d
Diffstat (limited to 'include')
-rw-r--r--include/filter/msfilter/svdfppt.hxx14
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