sc/source/ui/app/inputhdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 42e7722ddf80937fc969a70c0e6f55f55085876a Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Dec 23 17:54:39 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Dec 23 20:58:53 2024 +0100 crashreporting: check pActiveViewSh See https://crashreport.libreoffice.org/stats/signature/ScInputHandler::UpdateFormulaMode() Change-Id: I87ccb3c07b08ebe0a77b1ebb6a5f4e8c2ea89894 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179259 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Tested-by: Jenkins diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 0ad8ce05acb1..4da004cd3c01 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -2875,7 +2875,7 @@ void ScInputHandler::UpdateFormulaMode() if ( bIsFormula ) { - if (!bFormulaMode) + if (!bFormulaMode && pActiveViewSh) { pActiveViewSh->GetViewData().SetEditHighlight(true); bFormulaMode = true;