summaryrefslogtreecommitdiff
path: root/sc/source/ui/xmlsource/xmlsourcedlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-29 19:54:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-03-01 16:39:50 +0100
commit85eda0537b3f378358542aacfa0689deccb680f1 (patch)
tree84364617d8867e8919b2eb0c64041bebef6bb4e3 /sc/source/ui/xmlsource/xmlsourcedlg.cxx
parent5a78e93aec3636e04e47f4e74d7f2328fd0bbdbb (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 'sc/source/ui/xmlsource/xmlsourcedlg.cxx')
-rw-r--r--sc/source/ui/xmlsource/xmlsourcedlg.cxx2
1 files changed, 1 insertions, 1 deletions
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);