diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-09-07 20:21:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-09-09 09:17:13 +0200 |
commit | 1ff238e5703507ad9d60810d20817052e5b43390 (patch) | |
tree | 27d1798b71466005c7ff7590a4c42b10c0044011 /include/svx/gallery1.hxx | |
parent | d9988b57b3acaf2541b4cf4bbf7c972f056b37e9 (diff) |
enforce null checking of AcquireTheme return
Change-Id: I184603be25be734ec377439622872406ef74898a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173026
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include/svx/gallery1.hxx')
-rw-r--r-- | include/svx/gallery1.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/gallery1.hxx b/include/svx/gallery1.hxx index 97e5f4569a9a..c889435568a3 100644 --- a/include/svx/gallery1.hxx +++ b/include/svx/gallery1.hxx @@ -132,7 +132,7 @@ public: void RenameTheme( const OUString& rOldName, const OUString& rNewName ); bool RemoveTheme( const OUString& rThemeName ); - GalleryTheme* AcquireTheme( std::u16string_view rThemeName, SfxListener& rListener ); + SAL_RET_MAYBENULL GalleryTheme* AcquireTheme( std::u16string_view rThemeName, SfxListener& rListener ); void ReleaseTheme( GalleryTheme* pTheme, SfxListener& rListener ); public: |