[Libreoffice-commits] core.git: sw/source

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 27 22:39:36 UTC 2019


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

New commits:
commit 3aa02e11e489c0f82024f5e323d6b63b4dcc3193
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Thu Jun 27 23:10:16 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Fri Jun 28 00:38:16 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/74824
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

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) );
                         }


More information about the Libreoffice-commits mailing list