diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-20 02:07:00 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-20 02:25:04 +0100 |
commit | 85e969fc230a49ea40fd3a799bc5828d3e7c2e95 (patch) | |
tree | 608f4905671c4d55d4933b1b40cbbfe9261c5073 /sw | |
parent | 87bc662386ffe53b8b4b1fa07deb0bb665fe39c9 (diff) |
use IsChanged() some more
Change-Id: Ic32f27fe5aa6be115af0d3f28252b98c7b1788a3
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/calbck.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 062ebdf55f0f..2af23b7f9d17 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -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(); } |