| commit | 82e6236cd6ba6f45aa913a3be606e6b00f81fe07 | [log] |
|---|---|---|
| author | Julien Nabet <serval2412@yahoo.fr> | Fri Mar 08 17:35:00 2024 +0100 |
| committer | Julien Nabet <serval2412@yahoo.fr> | Sat Mar 09 09:53:51 2024 +0100 |
| tree | f4dfdb44e2320dd565cef769d62ddb1d1d3982e3 | |
| parent | 632fc28fda03e312b2eb2d5843459b3ceee43534 [diff] |
tdf#160095: fix crash when using ALT+RETURN twice Change-Id: Idc4c84039115c8d88418246a17e281c26fb49b70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164592 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
diff --git a/sw/source/core/edit/edsect.cxx b/sw/source/core/edit/edsect.cxx index daaa729..070a37a 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(); }