coverity#707781 Uninitialized scalar field

Change-Id: Ic29735bc125b2b9e662e97402dfccf72f7dedb5d
This commit is contained in:
Caolán McNamara
2014-02-06 14:17:32 +00:00
parent 92d0dabd50
commit a9102eba62

View File

@@ -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