summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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