From 10fbca7ebde81fc7246402f7025f219777c12488 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Mon, 20 May 2024 14:04:53 +0200 Subject: starmath: use SAL_RET_MAYBENULL in GetEditWindow() after 359e2be93a4560a86237f076003c23a6635fb1bb "starmath: check GetEditWindow()" Change-Id: I6a93c00a3b67338e7f2816d1ef31ccf7afe8555e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167865 Reviewed-by: Xisco Fauli Tested-by: Jenkins --- starmath/inc/view.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath') diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index 03f67fdbed40..dd9102dfcaef 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -284,7 +284,7 @@ public: return static_cast( GetViewFrame().GetObjectShell() ); } - SmEditWindow * GetEditWindow(); + SAL_RET_MAYBENULL SmEditWindow * GetEditWindow(); SmGraphicWidget& GetGraphicWidget() { -- cgit