Kaydet (Commit) de551f0f authored tarafından Michael Stahl's avatar Michael Stahl

sw_redlinehide_4b: fix pointer compares in SwRedlineItr::GetNextRedln()

This is really stupid...

Change-Id: I487ded0c0268ee9b7426e08109a9e8d447a0dfac
üst 63dba520
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment