sw/inc/ring.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 513179b9381a8932c27fadeefa8dc8343cc4ce53
Author: Michael Stahl <[email protected]>
Date: Thu Dec 4 17:02:38 2014 +0100
coverity#1256663: sw: fix Ring::equals()
Change-Id: I199ad135fcb217866e8daa0797f4013f8acf4f6a
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx
index 53b271d..8796dd0 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; }
/**
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits