summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-05-17 16:08:33 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-05-17 16:08:33 +0200
commit03cf5c4a5d74dbeb151cf27c26adc2b9a1163cb8 (patch)
treea7ce5262a4ce09c148e7a2e0101bdbd799ff7f92
parent3b519a7eeffea5adbe0bf078e9a4c0b10a930d18 (diff)
Cppcheck Same expression on both sides of '<', we remove it
-rw-r--r--sw/source/core/layout/flycnt.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index 7db5677f7403..a05878df6660 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 )