summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-06-27 23:10:16 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-06-28 00:38:16 +0200
commit3aa02e11e489c0f82024f5e323d6b63b4dcc3193 (patch)
tree918fe5848a62a1fe818b2f3121a8418f901242ff /sw
parentd306d22d570817adb3986fc7054ae1e36768b8be (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.cxx2
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) );
}