diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-29 19:54:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-03-01 16:39:50 +0100 |
commit | 85eda0537b3f378358542aacfa0689deccb680f1 (patch) | |
tree | 84364617d8867e8919b2eb0c64041bebef6bb4e3 /fpicker/source/office | |
parent | 5a78e93aec3636e04e47f4e74d7f2328fd0bbdbb (diff) |
cid#1459028 various checked_return warnings
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 <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'fpicker/source/office')
-rw-r--r-- | fpicker/source/office/foldertree.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<weld::TreeIter> 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<weld::TreeIter> xChild(m_xTreeView->make_iterator(xParent.get())); - m_xTreeView->iter_children(*xChild); + (void)m_xTreeView->iter_children(*xChild); m_xTreeView->remove(*xChild); } |