sc/source/ui/docshell/docsh6.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 26a546c32576126dcfb14ca017eecebb90a941bf Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Apr 6 10:26:31 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Apr 6 17:23:51 2021 +0200 skip intermediate vcl::Window Change-Id: Iabf0e476d1f4be422e71feefb98145d57abc908d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113654 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx index ac313715160d..fa12ebd6ac4c 100644 --- a/sc/source/ui/docshell/docsh6.cxx +++ b/sc/source/ui/docshell/docsh6.cxx @@ -499,8 +499,7 @@ void ScDocShell::CheckConfigOptions() ScTabViewShell* pViewShell = GetBestViewShell(); if (pViewShell) { - vcl::Window* pParent = pViewShell->GetFrameWin(); - std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(pParent ? pParent->GetFrameWeld() : nullptr, + std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(pViewShell->GetFrameWeld(), VclMessageType::Info, VclButtonsType::Ok, ScResId(STR_OPTIONS_WARN_SEPARATORS))); xInfoBox->run(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits