From 098ba55907b0fec87fe8f62b52a087a4f2f9239e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 3 May 2018 10:24:52 +0100 Subject: weld SvxTextTabDialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2a48230d38fbc3c7d3e1e3b3ad43d4b17f48ed16 Reviewed-on: https://gerrit.libreoffice.org/53783 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/uibase/shells/drawdlg.cxx | 2 +- sw/source/uibase/shells/drwtxtsh.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/source/uibase/shells/drawdlg.cxx b/sw/source/uibase/shells/drawdlg.cxx index 21dbe250db15..2edc3848a9c0 100644 --- a/sw/source/uibase/shells/drawdlg.cxx +++ b/sw/source/uibase/shells/drawdlg.cxx @@ -54,7 +54,7 @@ void SwDrawShell::ExecDrawDlg(SfxRequest& rReq) SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if ( pFact ) { - ScopedVclPtr pDlg(pFact->CreateTextTabDialog( nullptr, &aNewAttr, pView )); + ScopedVclPtr pDlg(pFact->CreateTextTabDialog(rReq.GetFrameWeld(), &aNewAttr, pView)); sal_uInt16 nResult = pDlg->Execute(); if (nResult == RET_OK) diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx index 130af5052b3e..f4a1f7f8b263 100644 --- a/sw/source/uibase/shells/drwtxtsh.cxx +++ b/sw/source/uibase/shells/drwtxtsh.cxx @@ -440,7 +440,7 @@ void SwDrawTextShell::ExecDraw(SfxRequest &rReq) if ( pFact ) { ScopedVclPtr pDlg(pFact->CreateTextTabDialog( - &(GetView().GetViewFrame()->GetWindow()), + GetView().GetViewFrame()->GetWindow().GetFrameWeld(), &aNewAttr, pSdrView )); sal_uInt16 nResult = pDlg->Execute(); -- cgit