summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-10-21 19:57:45 +0200
committerLuboš Luňák <l.lunak@collabora.com>2014-11-14 13:24:52 +0100
commit6a3bc5f88114edf3c951c78d8e845cf99f82b5eb (patch)
tree300e9897e01d6ae0c19aa63910dd9daa7e6154bf
parent19baf54e08b30f7e0218f9086054bc1afd540f00 (diff)
more local variable
Change-Id: Ibe67ecdd5b121ad5624bfd111dca33897d6e1991
-rw-r--r--sw/source/core/layout/frmtool.cxx2
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() )