From 85eda0537b3f378358542aacfa0689deccb680f1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 29 Feb 2020 19:54:52 +0000 Subject: cid#1459028 various checked_return warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and cid#1459027, cid#1459026, cid#1459025, cid#1459024, cid#1459021, cid#1459018 Change-Id: If92e7665fcf947c5daf3094b9003e85c5c51f48f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89763 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- fpicker/source/office/foldertree.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/office/foldertree.cxx b/fpicker/source/office/foldertree.cxx index 78cccf52787c..256335c3702a 100644 --- a/fpicker/source/office/foldertree.cxx +++ b/fpicker/source/office/foldertree.cxx @@ -61,7 +61,7 @@ void FolderTree::FillTreeEntry(const weld::TreeIter& rEntry) while (m_xTreeView->iter_has_child(rEntry)) { std::unique_ptr xChild(m_xTreeView->make_iterator(&rEntry)); - m_xTreeView->iter_children(*xChild); + (void)m_xTreeView->iter_children(*xChild); m_xTreeView->remove(*xChild); } @@ -109,7 +109,7 @@ void FolderTree::FillTreeEntry( const OUString & rUrl, const ::std::vector< std: while (m_xTreeView->iter_has_child(*xParent)) { std::unique_ptr xChild(m_xTreeView->make_iterator(xParent.get())); - m_xTreeView->iter_children(*xChild); + (void)m_xTreeView->iter_children(*xChild); m_xTreeView->remove(*xChild); } -- cgit