diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-09-17 09:35:57 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-09-17 15:26:37 +0200 |
commit | 8dba09031bac4744f489bfa23be3c669640b0c93 (patch) | |
tree | 7dcdb94f345cc4bad525d9b01d0e57f73480a746 /sc | |
parent | 9286ac87abe4eeaf878585bdc5bb4fee40f950cc (diff) |
sc: use SAL_RET_MAYBENULL() in GetViewBindings
Change-Id: I67e3e7921869a22d2bf6ce713fd581a9c3881aa6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173521
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/document.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index f5f2c3487c75..43a08fcdc7b0 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -1173,7 +1173,7 @@ public: @return true = DDE link found and matrix set. */ bool SetDdeLinkResultMatrix( size_t nDdePos, const ScMatrixRef& pResults ); - SfxBindings* GetViewBindings(); + SAL_RET_MAYBENULL SfxBindings* GetViewBindings(); ScDocShell* GetDocumentShell() const { return mpShell; } SC_DLLPUBLIC ScDrawLayer* GetDrawLayer() { return mpDrawLayer.get(); } SC_DLLPUBLIC const ScDrawLayer* GetDrawLayer() const { return mpDrawLayer.get(); } |