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

New commits:
commit 9c8dec11a24750c5729884b0e73d45c877ad442f
Author:     Muhammet Kara <muhammet.k...@collabora.com>
AuthorDate: Fri Jun 28 23:09:33 2019 +0200
Commit:     Muhammet Kara <muhammet.k...@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.k...@collabora.com>
    Tested-by: Muhammet Kara <muhammet.k...@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));
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to