diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-06-04 10:07:22 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-06-04 11:30:36 +0200 |
commit | 36b09bd8099e0ce4da588a693d1e3b45511b3716 (patch) | |
tree | d4dad808f5d30ff7e47fd4a1a4dacfd59825203a /basctl | |
parent | ec5aa7e88b0d412041f8575111f0da295065cecb (diff) |
basctl: use SAL_RET_MAYBENULL in GetBindingsPtr()...
... GetDispatcher() and FindBasicManager()
Change-Id: I6de6035f17b74313a5cbb9964ceafcbe3161ef2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168397
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/inc/basobj.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx index 70c603d4548a..95e46b097f56 100644 --- a/basctl/source/inc/basobj.hxx +++ b/basctl/source/inc/basobj.hxx @@ -46,11 +46,11 @@ namespace basctl bool IsValidSbxName( std::u16string_view rName ); - BasicManager* FindBasicManager( StarBASIC const * pLib ); + SAL_RET_MAYBENULL BasicManager* FindBasicManager( StarBASIC const * pLib ); - SfxBindings* GetBindingsPtr(); + SAL_RET_MAYBENULL SfxBindings* GetBindingsPtr(); - SfxDispatcher* GetDispatcher (); + SAL_RET_MAYBENULL SfxDispatcher* GetDispatcher (); void InvalidateDebuggerSlots(); |