From 6a3bc5f88114edf3c951c78d8e845cf99f82b5eb Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 21 Oct 2014 19:57:45 +0200 Subject: more local variable Change-Id: Ibe67ecdd5b121ad5624bfd111dca33897d6e1991 --- sw/source/core/layout/frmtool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 51e8c6f35b93..5572239038ef 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -1081,9 +1081,9 @@ void AppendObjs( const SwFrmFmts *pTbl, sal_uLong nIndex, static bool lcl_ObjConnected( SwFrmFmt *pFmt, const SwFrm* pSib ) { - SwIterator aIter( *pFmt ); if ( RES_FLYFRMFMT == pFmt->Which() ) { + SwIterator aIter( *pFmt ); const SwRootFrm* pRoot = pSib ? pSib->getRootFrm() : 0; const SwFlyFrm* pTmpFrm; for( pTmpFrm = aIter.First(); pTmpFrm; pTmpFrm = aIter.Next() ) -- cgit