Kaydet (Commit) 85e969fc authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

use IsChanged() some more

Change-Id: Ic32f27fe5aa6be115af0d3f28252b98c7b1788a3
üst 87bc6623
......@@ -317,7 +317,7 @@ public:
}
TElementType* Next()
{
if( m_pPosition == m_pCurrent )
if(!IsChanged())
m_pPosition = GetRightOfPos();
while(m_pPosition && !m_pPosition->IsA( TYPE(TElementType) ) )
m_pPosition = GetRightOfPos();
......@@ -352,7 +352,7 @@ public:
}
SwClient* Next()
{
if( m_pPosition == m_pCurrent )
if(!IsChanged())
m_pPosition = GetRightOfPos();
return Sync();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment