https://bugs.documentfoundation.org/show_bug.cgi?id=171191

--- Comment #6 from Saburo <[email protected]> ---
AI-generated revised proposal
It didn't crash.
/sw/source/core/text/itrpaint.cxx
@@ -149,7 +149,7 @@ SwTextPaintOmitter::SwTextPaintOmitter(SwTextPainter&
rPainter, const SwRedlineT
     }

     SwRedlineTable::size_type nRedline = rPainter.GetRedln()->GetAct();
-    if (nRedline == SwRedlineTable::npos)
+    if (nRedline == SwRedlineTable::npos || nRedline >= rRedlineTable.size())
     {
         return;
     }

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to