sw/source/uibase/shells/drwbassh.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ecfb606b4129613073f4c3d22edb8021d752805c Author: Muhammet Kara <muhammet.k...@collabora.com> AuthorDate: Thu Jun 27 00:26:48 2019 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Sat Jun 29 16:13:45 2019 +0200 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/74881 Reviewed-by: Muhammet Kara <muhammet.k...@collabora.com> Tested-by: Muhammet Kara <muhammet.k...@collabora.com> diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx index 53aa72233b20..b6a9ca545efe 100644 --- a/sw/source/uibase/shells/drwbassh.cxx +++ b/sw/source/uibase/shells/drwbassh.cxx @@ -193,7 +193,7 @@ void SwDrawBaseShell::Execute(SfxRequest const &rReq) { SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); VclPtr<AbstractSvxCaptionDialog> pCaptionDlg = - pFact->CreateCaptionDialog( nullptr, pSdrView, nAllowedAnchors ); + pFact->CreateCaptionDialog( GetView().GetWindow(), pSdrView, nAllowedAnchors ); pDlg.disposeAndReset(pCaptionDlg); pCaptionDlg->SetValidateFramePosLink( LINK(this, SwDrawBaseShell, ValidatePosition) ); } @@ -201,7 +201,7 @@ void SwDrawBaseShell::Execute(SfxRequest const &rReq) { SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); VclPtr<AbstractSvxTransformTabDialog> pTransform = - pFact->CreateSvxTransformTabDialog( nullptr, nullptr, pSdrView, nAllowedAnchors ); + pFact->CreateSvxTransformTabDialog( GetView().GetWindow(), nullptr, pSdrView, nAllowedAnchors ); pDlg.disposeAndReset(pTransform); pTransform->SetValidateFramePosLink( LINK(this, SwDrawBaseShell, ValidatePosition) ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits