diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2019-06-27 23:10:16 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2019-06-28 00:38:16 +0200 |
commit | 3aa02e11e489c0f82024f5e323d6b63b4dcc3193 (patch) | |
tree | 918fe5848a62a1fe818b2f3121a8418f901242ff /sw | |
parent | d306d22d570817adb3986fc7054ae1e36768b8be (diff) |
Give a parent to the Position and Size (Transform) dialog
So that it can be used on lool side
Change-Id: If4b4e286f2f21ed8a5e9907f182878690c65bf5a
Reviewed-on: https://gerrit.libreoffice.org/74824
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/shells/drwbassh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx index f3b49d1f64a2..94799bc4a80a 100644 --- a/sw/source/uibase/shells/drwbassh.cxx +++ b/sw/source/uibase/shells/drwbassh.cxx @@ -190,7 +190,7 @@ void SwDrawBaseShell::Execute(SfxRequest const &rReq) { SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); VclPtr<AbstractSvxCaptionDialog> pCaptionDlg = - pFact->CreateCaptionDialog( nullptr, pSdrView, nAllowedAnchors ); + pFact->CreateCaptionDialog( rReq.GetFrameWeld(), pSdrView, nAllowedAnchors ); pDlg.disposeAndReset(pCaptionDlg); pCaptionDlg->SetValidateFramePosLink( LINK(this, SwDrawBaseShell, ValidatePosition) ); } |