sfx2/source/dialog/StyleList.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 04921e20b4d3d08a4b78dbafe26c983075fe5630 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Oct 18 09:00:42 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Oct 21 10:29:16 2024 +0200 cid#1633189 silence Unchecked return value and cid#1633190 Unchecked return value cid#1633191 Unchecked return value Change-Id: I4589ed1fe48067f493a1db04a468b7a8ed6ae178 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175120 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sfx2/source/dialog/StyleList.cxx b/sfx2/source/dialog/StyleList.cxx index 3d133d831efc..b5970461bd6a 100644 --- a/sfx2/source/dialog/StyleList.cxx +++ b/sfx2/source/dialog/StyleList.cxx @@ -788,14 +788,14 @@ static void FillBox_Impl(weld::TreeView& rBox, StyleTreeArr_Impl& rTreeArray, std::unique_ptr<weld::TreeIter> xChildParentIter = rBox.make_iterator(pParent); if (!pParent) - rBox.get_iter_first(*xChildParentIter); + (void)rBox.get_iter_first(*xChildParentIter); else - rBox.iter_children(*xChildParentIter); + (void)rBox.iter_children(*xChildParentIter); for (size_t i = 0; i < rTreeArray.size(); ++i) { FillBox_Impl(rBox, rTreeArray[i]->getChildren(), eStyleFamily, xChildParentIter.get(), blcl_insert, pViewShell, pStyleSheetPool); - rBox.iter_next_sibling(*xChildParentIter); + (void)rBox.iter_next_sibling(*xChildParentIter); } }