[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - basctl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 21 16:49:17 UTC 2019


 basctl/source/basicide/basides1.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 65f483a86d0702928c9283d3dacd05af0e5fc4b2
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 18:48:18 2019 +0200

    search dialog is welded
    
    Change-Id: I51fa749266efed733aeff9d2e22d7d5f628468c1
    Reviewed-on: https://gerrit.libreoffice.org/74514
    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