diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-11-14 11:21:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-11-14 14:15:35 +0100 |
commit | f0481649c526e2ad934482487c2dc7fae49c8031 (patch) | |
tree | fb62317d3bb827e6edfdd8c43697f58f4c96e7bf /svl/source/items | |
parent | 13898cc9fefe7227c2119d3996f13d67877b8a6d (diff) |
cid#1550044 make it more clear that null is returned here
Change-Id: Ie61d6e5f77d3473e4e867bda7be9805ca1e355ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159410
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svl/source/items')
-rw-r--r-- | svl/source/items/itemset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index 802a3255b95d..8c024ae6a768 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -133,7 +133,7 @@ SfxPoolItem const* implCreateItemEntry(SfxItemPool& rPool, SfxPoolItem const* pS if (nullptr == pSource) // SfxItemState::UNKNOWN aka current default (nullptr) // just use/return nullptr - return pSource; + return nullptr; if (IsInvalidItem(pSource)) // SfxItemState::DONTCARE aka invalid item |