summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-06-28 23:09:33 +0200
committerMuhammet Kara <muhammet.kara@collabora.com>2019-06-29 16:14:49 +0200
commit9c8dec11a24750c5729884b0e73d45c877ad442f (patch)
tree0f18c075c41e3766e6d2aa02ca3421b5a64e0c30
parentecfb606b4129613073f4c3d22edb8021d752805c (diff)
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@collabora.com> Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
-rw-r--r--sw/source/uibase/shells/drawdlg.cxx2
1 files changed, 1 insertions, 1 deletions
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));