diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-26 17:53:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-26 21:25:15 +0100 |
commit | bc9e82317a534d9da56a6de83479fc8f7ff2428e (patch) | |
tree | 841cbfa32347b6e5d995ed1472a2c46b6e56df0e /sw | |
parent | fe951dc06a098d7f585d01f4050bc1325e5dacad (diff) |
coverity#1228874 Uninitialized scalar variable
Change-Id: I784ee8e0de87996e408656ffed5b8326cc0ab74f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/CntntIdxStore.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx index 5f9b44a8a32c..56c554d7a85b 100644 --- a/sw/source/core/doc/CntntIdxStore.cxx +++ b/sw/source/core/doc/CntntIdxStore.cxx @@ -312,7 +312,7 @@ void CntntIdxStoreImpl::SaveFlys(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nCntnt, if( !pFrm->GetDrawObjs() ) return; // if we have a layout and no DrawObjs, we can skip this } - MarkEntry aSave; + MarkEntry aSave = { 0, false, 0 }; BOOST_FOREACH(const SwFrmFmt* pFrmFmt, *pDoc->GetSpzFrmFmts()) { if ( RES_FLYFRMFMT == pFrmFmt->Which() || RES_DRAWFRMFMT == pFrmFmt->Which() ) |