basctl/source/basicide/basides1.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ce5a418abe7fbb08beaaa06ae9caeea0a0053305 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Jun 21 14:14:44 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Jun 21 17:17:28 2019 +0200 search dialog is welded Change-Id: I51fa749266efed733aeff9d2e22d7d5f628468c1 Reviewed-on: https://gerrit.libreoffice.org/74510 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index c04f0c346893..9a6c1d91cbc0 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -173,9 +173,9 @@ void Shell::ExecuteSearch( SfxRequest& rReq ) { SfxViewFrame* pViewFrame = GetViewFrame(); SfxChildWindow* pChildWin = pViewFrame ? pViewFrame->GetChildWindow( SID_SEARCH_DLG ) : nullptr; - vcl::Window* pParent = pChildWin ? pChildWin->GetWindow() : nullptr; + auto xParent = pChildWin ? pChildWin->GetController() : nullptr; - std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(pParent ? pParent->GetFrameWeld() : nullptr, + std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(xParent ? xParent->getDialog() : nullptr, VclMessageType::Question, VclButtonsType::YesNo, IDEResId(RID_STR_SEARCHFROMSTART))); xQueryBox->set_default_response(RET_YES); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits