diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-09-29 08:44:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-09-29 14:14:06 +0200 |
commit | 348591702a84209476aedc8cc286cc90ff16558a (patch) | |
tree | 0eaca1ac1c4c86880f6bbeff75b760ef406b16d5 /svl | |
parent | d282d737921e33bacb3ca81b16270702903fdbed (diff) |
cid#1545230 Unchecked return value
Change-Id: If25dcbb9784c041b61fe9aaea213035a4769962b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157397
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svl')
-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 48f0679e481d..62f4df050577 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -1284,7 +1284,7 @@ sal_uInt16 SfxItemSet::GetWhichByOffset( sal_uInt16 nOffset ) const // 1st try to get a set SfxPoolItem and fetch the WhichID from there. const SfxPoolItem* pItem(nullptr); - GetItemState_ForOffset(nOffset, &pItem); + (void)GetItemState_ForOffset(nOffset, &pItem); if (nullptr != pItem && 0 != pItem->Which()) return pItem->Which(); |