diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-25 21:10:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-25 21:10:21 +0000 |
commit | ad653c3495d60cacd42c8b26f575ad70a656c960 (patch) | |
tree | ac829c404af6a2a4d9596a2e9986ecbd97b39b74 | |
parent | db592f3ba822ccec17103c935de5d0702aee87a5 (diff) |
coverity#1426946 Unchecked return value
Change-Id: I42d94649df7e64dce0af7ae242523106b1a04679
-rw-r--r-- | sw/source/core/table/swtable.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx index 41f7697f8cda..3a1682f59e66 100644 --- a/sw/source/core/table/swtable.cxx +++ b/sw/source/core/table/swtable.cxx @@ -2232,8 +2232,7 @@ void SwTableBoxFormat::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew else { // fetch the current Item - GetItemState( RES_BOXATR_FORMAT, false, - reinterpret_cast<const SfxPoolItem**>(&pNewFormat) ); + (void)GetItemState(RES_BOXATR_FORMAT, false, reinterpret_cast<const SfxPoolItem**>(&pNewFormat)); nOldFormat = GetTableBoxNumFormat().GetValue(); nNewFormat = pNewFormat ? pNewFormat->GetValue() : nOldFormat; } |