[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 9 09:28:08 UTC 2020
sw/source/core/table/swnewtable.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8008bae17d8a105e8c33a43a5f27c1e09b25ade3
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 9 08:57:09 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 9 11:27:26 2020 +0200
cid#1467972 silence Unchecked return value
Change-Id: If00d4124fd2320dc793426c708367074eab52c6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104103
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
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)
{
More information about the Libreoffice-commits
mailing list