sc/source/ui/app/inputhdl.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 804694846cbe4153d559bcb7faf3b59967b55e71 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Apr 6 12:16:22 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Apr 6 17:31:39 2021 +0200 skip intermediate vcl::Window Change-Id: I2eefba4a61455d39ec3411a0c3e74d0f09d59f38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113670 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index b95d396b867d..c9b13dc709ae 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -2988,9 +2988,7 @@ void ScInputHandler::EnterHandler( ScEnterMode nBlockMode ) pSelEngine->ReleaseMouse(); } - vcl::Window* pParent = &pActiveViewSh->GetViewFrame()->GetWindow(); - - if (pData->DoError(pParent ? pParent->GetFrameWeld() : nullptr, aString, aCursorPos)) + if (pData->DoError(pActiveViewSh->GetFrameWeld(), aString, aCursorPos)) bForget = true; // Do not take over input } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits