[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 6 15:32:23 UTC 2021
sc/source/ui/app/inputhdl.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 804694846cbe4153d559bcb7faf3b59967b55e71
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Apr 6 12:16:22 2021 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at 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
}
}
More information about the Libreoffice-commits
mailing list