Kaydet (Commit) 6557b081 authored tarafından Luboš Luňák's avatar Luboš Luňák

more local variable

Change-Id: Ibe67ecdd5b121ad5624bfd111dca33897d6e1991
üst 16f18fb3
...@@ -1076,9 +1076,9 @@ void AppendObjs( const SwFrmFmts *pTbl, sal_uLong nIndex, ...@@ -1076,9 +1076,9 @@ void AppendObjs( const SwFrmFmts *pTbl, sal_uLong nIndex,
static bool lcl_ObjConnected( SwFrmFmt *pFmt, const SwFrm* pSib ) static bool lcl_ObjConnected( SwFrmFmt *pFmt, const SwFrm* pSib )
{ {
SwIterator<SwFlyFrm,SwFmt> aIter( *pFmt );
if ( RES_FLYFRMFMT == pFmt->Which() ) if ( RES_FLYFRMFMT == pFmt->Which() )
{ {
SwIterator<SwFlyFrm,SwFmt> aIter( *pFmt );
const SwRootFrm* pRoot = pSib ? pSib->getRootFrm() : 0; const SwRootFrm* pRoot = pSib ? pSib->getRootFrm() : 0;
const SwFlyFrm* pTmpFrm; const SwFlyFrm* pTmpFrm;
for( pTmpFrm = aIter.First(); pTmpFrm; pTmpFrm = aIter.Next() ) for( pTmpFrm = aIter.First(); pTmpFrm; pTmpFrm = aIter.Next() )
......
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