[Libreoffice-commits] core.git: basctl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jun 21 15:18:52 UTC 2019
basctl/source/basicide/basides1.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ce5a418abe7fbb08beaaa06ae9caeea0a0053305
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jun 21 14:14:44 2019 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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);
More information about the Libreoffice-commits
mailing list