sw/source/uibase/uiview/viewling.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit af8c304b8f984066d80d64f9a821ee9433e97781
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Sep 19 12:52:18 2018 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Sep 19 22:25:40 2018 +0200

    null parent is a bad idea
    
    Change-Id: Ifcd9039c2de396a4cadf3ba557df3cff3cc6001c
    Reviewed-on: https://gerrit.libreoffice.org/60772
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/uibase/uiview/viewling.cxx 
b/sw/source/uibase/uiview/viewling.cxx
index 6824ea96bca9..1cb076a471d3 100644
--- a/sw/source/uibase/uiview/viewling.cxx
+++ b/sw/source/uibase/uiview/viewling.cxx
@@ -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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to