https://bugs.documentfoundation.org/show_bug.cgi?id=160095
--- Comment #4 from Julien Nabet <[email protected]> --- I could also reproduce this with just: 1. Open Writer 2. Alt+Return This patch prevents from crashing: diff --git a/sw/source/core/edit/edsect.cxx b/sw/source/core/edit/edsect.cxx index daaa7296e81e..679b0fb72f3e 100644 --- a/sw/source/core/edit/edsect.cxx +++ b/sw/source/core/edit/edsect.cxx @@ -316,6 +316,9 @@ static const SwNode* lcl_SpecialInsertNode(const SwPosition* pCurrentPos) // find the table/section which is close if( pTableNode == nullptr ) { + if ( pSectionNode == nullptr ) + return nullptr; + pInnermostNode = pSectionNode; pSection = &static_cast<const SwSectionNode*>(pSectionNode)->GetSection(); } -- You are receiving this mail because: You are the assignee for the bug.
