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>
This commit is contained in:
Xisco Fauli 2024-09-17 09:35:57 +02:00
parent 9286ac87ab
commit 8dba09031b

View file

@ -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(); }