diff options
-rw-r--r-- | sw/source/core/layout/frmtool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<SwFlyFrm,SwFmt> aIter( *pFmt ); if ( RES_FLYFRMFMT == pFmt->Which() ) { + SwIterator<SwFlyFrm,SwFmt> aIter( *pFmt ); const SwRootFrm* pRoot = pSib ? pSib->getRootFrm() : 0; const SwFlyFrm* pTmpFrm; for( pTmpFrm = aIter.First(); pTmpFrm; pTmpFrm = aIter.Next() ) |