summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-12-06 18:39:10 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-12-06 19:22:17 +0100
commit4956318e4eed44f1f13ff1f1a242474fa6e8eb6f (patch)
tree9e605d7ab6357aa17c35d43699727f52017aec69
parenta696e85ca462b157033855e24db3f4ce912ebb7a (diff)
sw_redlinehide_4b: fix pointer compares in SwRedlineItr::GetNextRedln()
This is really stupid... Change-Id: I487ded0c0268ee9b7426e08109a9e8d447a0dfac
-rw-r--r--sw/source/core/text/redlnitr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/redlnitr.cxx b/sw/source/core/text/redlnitr.cxx
index 4f522ec3c171..96149b522c63 100644
--- a/sw/source/core/text/redlnitr.cxx
+++ b/sw/source/core/text/redlnitr.cxx
@@ -748,11 +748,11 @@ SwRedlineItr::GetNextRedln(sal_Int32 nNext, SwTextNode const*const pNode,
{
SwRangeRedline const*const pNext =
m_rDoc.getIDocumentRedlineAccess().GetRedlineTable()[rAct + nSkipped];
- if (pRedline->End() < pNext->Start())
+ if (*pRedline->End() < *pNext->Start())
{
break; // done for now
}
- else if (pNext->Start() == pRedline->End() &&
+ else if (*pNext->Start() == *pRedline->End() &&
pNext->GetType() == nsRedlineType_t::REDLINE_DELETE)
{
// consecutive delete - continue