From a9102eba62f88bc749339cd23a0dba0d4bd9bd7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 6 Feb 2014 14:17:32 +0000 Subject: [PATCH] coverity#707781 Uninitialized scalar field Change-Id: Ic29735bc125b2b9e662e97402dfccf72f7dedb5d --- include/filter/msfilter/svdfppt.hxx | 14 ++++++++------ 1 file 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