summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-05-21 14:23:16 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-05-21 21:36:07 +0200
commit1ff9bc004e5df7d0dfbd7e58c0cbaadf225fb68d (patch)
tree03996c077cb80ec95fa7d116dfcf3a7acf4d392d /sc/source/ui
parent860d11230d67900238f97a06fd2ebd0262c16ae4 (diff)
use SAL_RET_MAYBENULL in GetActiveViewShell()
Change-Id: I739a9be7486978b19f34939c7d6d7bb2d1adbf77 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167899 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx2
1 files changed, 1 insertions, 1 deletions
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,