sc/source/ui/app/inputhdl.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 71227a281b4069f7718df9c064e3b237bab1a486
Author: Jaume Pujantell Traserra <[email protected]>
AuthorDate: Fri Jun 16 09:01:27 2023 +0200
Commit: Andras Timar <[email protected]>
CommitDate: Mon Jun 19 20:07:45 2023 +0200
fix crash on LOKIT spelling dialog
Update active view before trying to access it's selection.
Change-Id: Ic83d335216304f7122005e447f5bd1c1484d0eb2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153167
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Andras Timar <[email protected]>
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 6a84353d6b13..85fef841d116 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -4270,6 +4270,7 @@ void ScInputHandler::NotifyChange( const ScInputHdlState*
pState,
if (comphelper::LibreOfficeKit::isActive() &&
pActiveViewSh)
{
+ UpdateActiveView();
EditView* pActiveView = pTopView ? pTopView :
pTableView;
ESelection aSel = pActiveView ?
pActiveView->GetSelection() : ESelection();