summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-05-27 13:35:58 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-05-27 19:58:09 +0200
commitbcb863f132ebe8502b0f13f17cbd6185c2acdb78 (patch)
treedd92599bc6a1014feb8287ec12a0e486ba16d57a /sd
parentd561f52ac8e5355c4a50f38beb81b6aff9255cca (diff)
sd: use SAL_RET_MAYBENULL in GetViewShellBase()
Change-Id: If2f9662f87b02fe42cd144daa7855424ef31db0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168097 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/ViewShellBase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx
index e31429f6e41a..cdec6d8a6b02 100644
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -91,7 +91,7 @@ public:
When the SfxViewShell of the given frame is not a
ViewShellBase object then NULL is returned.
*/
- static ViewShellBase* GetViewShellBase (SfxViewFrame const * pFrame);
+ SAL_RET_MAYBENULL static ViewShellBase* GetViewShellBase (SfxViewFrame const * pFrame);
DrawDocShell* GetDocShell() const { return mpDocShell;}
SdDrawDocument* GetDocument() const { return mpDocument;}