summaryrefslogtreecommitdiff
path: root/sc/source/ui/xmlsource/xmlsourcedlg.cxx
diff options
context:
space:
mode:
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);