[Libreoffice-commits] core.git: fpicker/source sc/source sd/source sw/source xmlsecurity/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Mar 1 15:40:27 UTC 2020
fpicker/source/office/foldertree.cxx | 4 ++--
sc/source/ui/xmlsource/xmlsourcedlg.cxx | 2 +-
sd/source/ui/dlg/sdtreelb.cxx | 2 +-
sw/source/ui/dialog/uiregionsw.cxx | 2 +-
sw/source/uibase/dbui/dbtree.cxx | 2 +-
xmlsecurity/source/dialogs/certificateviewer.cxx | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 85eda0537b3f378358542aacfa0689deccb680f1
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Feb 29 19:54:52 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Mar 1 16:39:50 2020 +0100
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 at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
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);
}
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index 227ca99da3f4..1eb2e4b06077 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -282,7 +282,7 @@ void ScXMLSourceDlg::DefaultElementSelected(weld::TreeIter& rEntry)
// Only an element with no child elements (leaf element) can be linked.
bool bHasChild = false;
std::unique_ptr<weld::TreeIter> xChild(mxLbTree->make_iterator(&rEntry));
- mxLbTree->iter_children(*xChild);
+ (void)mxLbTree->iter_children(*xChild);
do
{
ScOrcusXMLTreeParam::EntryData* pUserData = ScOrcusXMLTreeParam::getUserData(*mxLbTree, *xChild);
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index f8ce3a324ffc..8b2ca9ea209e 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -870,7 +870,7 @@ IMPL_LINK(SdPageObjsTLV, RequestingChildrenHdl, const weld::TreeIter&, rFileEntr
if (!xPageEntry)
{
xPageEntry = m_xTreeView->make_iterator(&rFileEntry);
- m_xTreeView->iter_children(*xPageEntry);
+ (void)m_xTreeView->iter_children(*xPageEntry);
}
else
(void)m_xTreeView->iter_next_sibling(*xPageEntry);
diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx
index 754e6e8dbf06..1e7d44c98360 100644
--- a/sw/source/ui/dialog/uiregionsw.cxx
+++ b/sw/source/ui/dialog/uiregionsw.cxx
@@ -894,7 +894,7 @@ IMPL_LINK_NOARG(SwEditRegionDlg, ChangeDismissHdl, weld::Button&, void)
if (m_xTree->iter_has_child(*xEntry))
{
std::unique_ptr<weld::TreeIter> xChild(m_xTree->make_iterator(xEntry.get()));
- m_xTree->iter_children(*xChild);
+ (void)m_xTree->iter_children(*xChild);
std::unique_ptr<weld::TreeIter> xParent(m_xTree->make_iterator(xEntry.get()));
if (!m_xTree->iter_parent(*xParent))
xParent.reset();
diff --git a/sw/source/uibase/dbui/dbtree.cxx b/sw/source/uibase/dbui/dbtree.cxx
index 102342a0a18f..3791c7894b36 100644
--- a/sw/source/uibase/dbui/dbtree.cxx
+++ b/sw/source/uibase/dbui/dbtree.cxx
@@ -416,7 +416,7 @@ void SwDBTreeList::ShowColumns(bool bShowCol)
while (m_xTreeView->iter_has_child(*xIter))
{
m_xTreeView->copy_iterator(*xIter, *xChild);
- m_xTreeView->iter_children(*xChild);
+ (void)m_xTreeView->iter_children(*xChild);
m_xTreeView->remove(*xChild);
}
} while (m_xTreeView->iter_next(*xIter));
diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx
index cb7ce254dd7e..ef9237f5dacd 100644
--- a/xmlsecurity/source/dialogs/certificateviewer.cxx
+++ b/xmlsecurity/source/dialogs/certificateviewer.cxx
@@ -295,7 +295,7 @@ void CertificateViewerCertPathTP::ActivatePage()
}
else
{
- mxCertPathLB->iter_children(*xParent);
+ (void)mxCertPathLB->iter_children(*xParent);
}
}
More information about the Libreoffice-commits
mailing list