[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/source

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 29 14:15:34 UTC 2019


 sw/source/uibase/shells/drawdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9c8dec11a24750c5729884b0e73d45c877ad442f
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Fri Jun 28 23:09:33 2019 +0200
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sat Jun 29 16:14:49 2019 +0200

    Give a parent to the AreaTabDialog
    
    So that it can be used on lool side
    
    Change-Id: Ieb307c4625c29c366c2d84d6170b3e8c78e202d2
    Reviewed-on: https://gerrit.libreoffice.org/74864
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
    Tested-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/sw/source/uibase/shells/drawdlg.cxx b/sw/source/uibase/shells/drawdlg.cxx
index 06a107981c58..1b349911354a 100644
--- a/sw/source/uibase/shells/drawdlg.cxx
+++ b/sw/source/uibase/shells/drawdlg.cxx
@@ -77,7 +77,7 @@ void SwDrawShell::ExecDrawDlg(SfxRequest& rReq)
             bool bHasMarked = pView->AreObjectsMarked();
 
             SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
-            ScopedVclPtr<AbstractSvxAreaTabDialog> pDlg(pFact->CreateSvxAreaTabDialog( nullptr,
+            ScopedVclPtr<AbstractSvxAreaTabDialog> pDlg(pFact->CreateSvxAreaTabDialog( &GetView().GetViewFrame()->GetWindow(),
                                                                             &aNewAttr,
                                                                             pDoc,
                                                                             true));


More information about the Libreoffice-commits mailing list