diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-05-27 13:35:58 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-05-27 19:58:09 +0200 |
commit | bcb863f132ebe8502b0f13f17cbd6185c2acdb78 (patch) | |
tree | dd92599bc6a1014feb8287ec12a0e486ba16d57a /sd | |
parent | d561f52ac8e5355c4a50f38beb81b6aff9255cca (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.hxx | 2 |
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;} |