summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-09 08:57:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-09 11:27:26 +0200
commit8008bae17d8a105e8c33a43a5f27c1e09b25ade3 (patch)
tree8e1ed9719f335d3918d126198d1fd39761b094e2 /sw
parent7a1b860ba5c5d422524b86245421453f35a5ff56 (diff)
cid#1467972 silence Unchecked return value
Change-Id: If00d4124fd2320dc793426c708367074eab52c6d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104103 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/table/swnewtable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/table/swnewtable.cxx b/sw/source/core/table/swnewtable.cxx
index 005b9ec40c3b..0b284e573671 100644
--- a/sw/source/core/table/swnewtable.cxx
+++ b/sw/source/core/table/swnewtable.cxx
@@ -2185,7 +2185,7 @@ void SwTable::ConvertSubtableBox(sal_uInt16 const nRow, sal_uInt16 const nBox)
pNewLine->GetFrameFormat()->SetFormatAttr(lastSize);
}
SfxPoolItem const* pRowBrush(nullptr);
- rSubLineFormat.GetItemState(RES_BACKGROUND, true, &pRowBrush);
+ (void)rSubLineFormat.GetItemState(RES_BACKGROUND, true, &pRowBrush);
GetTabLines().insert(GetTabLines().begin() + nRow + i, pNewLine);
for (size_t j = 0; j < pSourceLine->GetTabBoxes().size(); ++j)
{