sd/source/ui/inc/unomodel.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2429b8b511d2c856ae72489da4ded5f9daaee58b
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Mon May 27 13:39:33 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon May 27 18:44:04 2024 +0200

    sd: use SAL_RET_MAYBENULL in GetViewShell()
    
    Change-Id: I2074bd17c8d4069c170d3567970960e43b10a641
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168098
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx
index dfb4ffb56f54..a4dc13e775f7 100644
--- a/sd/source/ui/inc/unomodel.hxx
+++ b/sd/source/ui/inc/unomodel.hxx
@@ -121,7 +121,7 @@ private:
 
     void initializeDocument();
 
-    sd::DrawViewShell* GetViewShell();
+    SAL_RET_MAYBENULL sd::DrawViewShell* GetViewShell();
 
     /** abstract SdrModel provider */
     virtual SdrModel& getSdrModelFromUnoModel() const override;

Reply via email to