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

null parent is a bad idea

Change-Id: Ifcd9039c2de396a4cadf3ba557df3cff3cc6001c
Reviewed-on: https://gerrit.libreoffice.org/60772
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 8d40a23a
......@@ -405,8 +405,8 @@ void SwView::HyphenateDocument()
// do not hyphenate if interactive hyphenation is active elsewhere
if (SwEditShell::HasHyphIter())
{
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(nullptr, VclMessageType::Warning,
VclButtonsType::Ok, SwResId(STR_MULT_INTERACT_HYPH_WARN)));
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetEditWin().GetFrameWeld(),
VclMessageType::Warning, VclButtonsType::Ok, SwResId(STR_MULT_INTERACT_HYPH_WARN)));
xBox->set_title(SwResId(STR_HYPH_TITLE));
xBox->run();
return;
......
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