Kaydet (Commit) bc9e8231 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1228874 Uninitialized scalar variable

Change-Id: I784ee8e0de87996e408656ffed5b8326cc0ab74f
üst fe951dc0
...@@ -312,7 +312,7 @@ void CntntIdxStoreImpl::SaveFlys(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nCntnt, ...@@ -312,7 +312,7 @@ void CntntIdxStoreImpl::SaveFlys(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nCntnt,
if( !pFrm->GetDrawObjs() ) if( !pFrm->GetDrawObjs() )
return; // if we have a layout and no DrawObjs, we can skip this 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()) BOOST_FOREACH(const SwFrmFmt* pFrmFmt, *pDoc->GetSpzFrmFmts())
{ {
if ( RES_FLYFRMFMT == pFrmFmt->Which() || RES_DRAWFRMFMT == pFrmFmt->Which() ) if ( RES_FLYFRMFMT == pFrmFmt->Which() || RES_DRAWFRMFMT == pFrmFmt->Which() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment