cid#1448219 silence Unchecked return value
Change-Id: I716096d8d165d374f5164d43e5e1c95910c53411 Reviewed-on: https://gerrit.libreoffice.org/75666 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -496,12 +496,9 @@ IMPL_LINK_NOARG(MacroChooser, BasicSelectHdl, weld::TreeView&, void)
|
||||
m_xMacroBox->append_text(macro.second->GetName());
|
||||
m_xMacroBox->thaw();
|
||||
|
||||
if (m_xMacroBox->n_children())
|
||||
{
|
||||
m_xMacroBox->get_iter_first(*m_xMacroBoxIter);
|
||||
if (m_xMacroBox->get_iter_first(*m_xMacroBoxIter))
|
||||
m_xMacroBox->set_cursor(*m_xMacroBoxIter);
|
||||
}
|
||||
}
|
||||
|
||||
UpdateFields();
|
||||
CheckButtons();
|
||||
|
Reference in New Issue
Block a user