Kaydet (Commit) bec100c0 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1430229 Unchecked return value

Change-Id: I100125d723a83ec7846cf9651ecebd3df697ce58
Reviewed-on: https://gerrit.libreoffice.org/51695Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 42fe3985
......@@ -1632,7 +1632,7 @@ SvTreeListEntry* SvxConfigPage::AddFunction(
{
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetFrameWeld(),
VclMessageType::Info, VclButtonsType::Ok, CuiResId(RID_SVXSTR_MNUCFG_ALREADY_INCLUDED)));
xBox->run();
(void)xBox->run();
delete pNewEntryData;
return nullptr;
}
......@@ -3316,7 +3316,7 @@ void SvxIconSelectorDialog::ImportGraphics(
}
SvxIconChangeDialog aDialog(GetFrameWeld(), message);
aDialog.run();
(void)aDialog.run();
}
}
......
......@@ -62,7 +62,7 @@ sal_Bool SAL_CALL PDFInteractionHandler::handleInteractionRequest( const Referen
VclPtr<vcl::Window> xParent(VCLUnoHelper::GetWindow(m_xParent));
ImplErrorDialog aDlg(xParent ? xParent->GetFrameWeld() : nullptr, aCodes);
aDlg.run();
(void)aDlg.run();
bHandled = true;
}
return bHandled;
......
......@@ -548,7 +548,7 @@ void SwSendMailDialog::DocumentSent( uno::Reference< mail::XMailMessage> const &
if (pError)
{
SwSendWarningBox_Impl aDlg(GetFrameWeld(), *pError);
aDlg.run();
(void)aDlg.run();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment