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

New commits:
commit 1ff9bc004e5df7d0dfbd7e58c0cbaadf225fb68d
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Tue May 21 14:23:16 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue May 21 21:36:07 2024 +0200

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

diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index e05e5370d84f..a3c0d728f90f 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -367,7 +367,7 @@ public:
 
     void            DeactivateOle();
 
-    SC_DLLPUBLIC static ScTabViewShell* GetActiveViewShell();
+    SAL_RET_MAYBENULL SC_DLLPUBLIC static ScTabViewShell* GetActiveViewShell();
 
     std::shared_ptr<SfxModelessDialogController> 
CreateRefDialogController(SfxBindings* pB, SfxChildWindow* pCW,
                                                     SfxChildWinInfo* pInfo,

Reply via email to