cui/source/customize/cfgutil.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 026d6e08fada78f095cd32a580f3debe20708982
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sun Nov 27 16:31:32 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sun Nov 27 20:15:47 2022 +0100

    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 <caol...@redhat.com>

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

Reply via email to