sd/source/ui/inc/ViewShellManager.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 9f890f5a50d32b7985d0ab5146bfb9c3ff312fc4
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Mon May 27 12:59:34 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon May 27 15:42:00 2024 +0200

    sd: use SAL_RET_MAYBENULL in GetShell(), GetTopShell()...
    
    ... and GetTopViewShell()
    
    Change-Id: Ia6de13c078994978e7223a7d8ba3b3f604fcd0c4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168094
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sd/source/ui/inc/ViewShellManager.hxx 
b/sd/source/ui/inc/ViewShellManager.hxx
index c4011c52d5fd..b56335ad6170 100644
--- a/sd/source/ui/inc/ViewShellManager.hxx
+++ b/sd/source/ui/inc/ViewShellManager.hxx
@@ -152,16 +152,16 @@ public:
             When the specified shell is currently not active then NULL is
             returned.
     */
-    SfxShell* GetShell(ShellId nId) const;
+    SAL_RET_MAYBENULL SfxShell* GetShell(ShellId nId) const;
 
     /** Return the top-most shell on the SFX shell stack regardless of
         whether that is a view shell or a sub shell.
     */
-    SfxShell* GetTopShell() const;
+    SAL_RET_MAYBENULL SfxShell* GetTopShell() const;
 
     /** Return the top-most active view shell on the internal shell stack.
     */
-    SfxShell* GetTopViewShell() const;
+    SAL_RET_MAYBENULL SfxShell* GetTopViewShell() const;
 
     /** Use this class to safely lock updates of the view shell stack.
     */

Reply via email to