sw/source/uibase/shells/basesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 80da4d6d4bfe3607a7fd9641f83ebb49a1886697 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Sun Sep 26 13:55:15 2021 -0800 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Mon Oct 4 11:28:11 2021 +0200 Pass shell's layout to getLayoutFrame here Change-Id: Ic11d3c6105226059d79f6dd9ff4a2c117131a135 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122665 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index 57b24745f97e..4242ee8a37e9 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -243,7 +243,7 @@ void SwBaseShell::ExecDelete(SfxRequest &rReq) break; --aIdx; if (aIdx.GetNode().IsContentNode() && - !aIdx.GetNode().GetContentNode()->getLayoutFrame(nullptr)) + !aIdx.GetNode().GetContentNode()->getLayoutFrame(rSh.GetLayout())) break; } }