[Libreoffice-commits] .: sw/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Tue May 17 07:09:02 PDT 2011
sw/source/core/layout/flycnt.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit b421069e03c5d16a2bfc97a917544aef0db0ca5c
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue May 17 16:08:33 2011 +0200
Cppcheck Same expression on both sides of '<', we remove it
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index 0991a12..0d2f988 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -1191,8 +1191,7 @@ const SwCntntFrm *FindAnchor( const SwFrm *pOldAnch, const Point &rNew,
//sich weiter zu suchen.
if ( pDownLst->IsInTab() && pDownFrm->IsInTab() )
{
- while ( pDownFrm && ( ( nDown.nMain != LONG_MAX && nDownLst < nDownLst
- && pDownFrm->IsInTab()) || bBody != pDownFrm->IsInDocBody() ) )
+ while ( pDownFrm && ( ( nDown.nMain != LONG_MAX && pDownFrm->IsInTab()) || bBody != pDownFrm->IsInDocBody() ) )
{
pDownFrm = pDownFrm->GetNextCntntFrm();
if ( pDownFrm )
More information about the Libreoffice-commits
mailing list