diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-12-04 17:02:38 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-12-04 17:03:23 +0100 |
commit | 513179b9381a8932c27fadeefa8dc8343cc4ce53 (patch) | |
tree | 8ed253fe03b2676753432adfc63b148175fb1dbb /sw | |
parent | 01225e0bb84c065549f058ac58c7825efe6635e3 (diff) |
coverity#1256663: sw: fix Ring::equals()
Change-Id: I199ad135fcb217866e8daa0797f4013f8acf4f6a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/ring.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx index 53b271d36124..8796dd0e50d5 100644 --- a/sw/inc/ring.hxx +++ b/sw/inc/ring.hxx @@ -188,7 +188,7 @@ namespace sw void increment() { m_pCurrent = m_pCurrent ? m_pCurrent->GetNext() : m_pStart->GetNext(); } bool equal(RingIterator const& other) const - { return m_pCurrent == other.m_pCurrent && m_pStart == m_pStart; } + { return m_pCurrent == other.m_pCurrent && m_pStart == other.m_pStart; } T& dereference() const { return m_pCurrent ? *m_pCurrent : * m_pStart; } /** |