summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-27 16:31:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-11-27 20:15:47 +0100
commit026d6e08fada78f095cd32a580f3debe20708982 (patch)
treef35125079575f5867cedddda06c46944e82bee54 /cui
parentcf636728b6bfbd8f5992e5a4393496fb411c5b8c (diff)
cid#1517060 Unchecked return value
Change-Id: Ic11f632270c65d5c4446771336e39999bc509617 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143350 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfgutil.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index 621238da0cb8..7746333fe796 100644
--- a/cui/source/customize/cfgutil.cxx
+++ b/cui/source/customize/cfgutil.cxx
@@ -1349,7 +1349,7 @@ SvxScriptSelectorDialog::LoadLastUsedMacro()
nOpenedNodes++;
}
if (xCategories.iter_has_child(*xIter))
- xCategories.iter_children(*xIter);
+ (void)xCategories.iter_children(*xIter);
else if (nOpenedNodes < nInfoParts - 1)
// If the number of levels in the tree is smaller than the
// number of parts in the macro info string, then return