sw/source/core/crsr/viscrs.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c4a4c766483aa18119f051a3885943781a5e68ea Author: Michael Stahl <michael.st...@cib.de> AuthorDate: Thu Jun 18 14:13:03 2020 +0200 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Thu Jun 18 17:02:52 2020 +0200 sw: try not to layout in SwShellTableCursor::FillRects() This crashes after Undo in tdf#134021 bugdoc, because there's no Action there so a SwTabFrame::RemoveFollowFlowLine() deletes a row and a11y events are sent synchronously, then the a11y code calls back into sw and accesses semi-connected cell frames. Change-Id: I98e8acf4756a44b8776e01d6b831d4b1494792f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96603 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@cib.de> diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index c9d7661cc10f..6f3a1e3b633d 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -866,7 +866,7 @@ void SwShellTableCursor::FillRects() if( !pCNd ) continue; - std::pair<Point, bool> const tmp(GetSttPos(), true); + std::pair<Point, bool> const tmp(GetSttPos(), false); SwFrame* pFrame = pCNd->getLayoutFrame(GetShell()->GetLayout(), nullptr, &tmp); while( pFrame && !pFrame->IsCellFrame() ) pFrame = pFrame->GetUpper(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits