diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-20 14:24:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-20 18:13:05 +0200 |
commit | f6ab12d5dae1212b0ad4e82ca3325f3dd4c974b6 (patch) | |
tree | 921d7e9de1fe7e323543489f85cd0f78f664057d /sw/source/uibase | |
parent | 11a229c0094979b4980d8e3be8a8a7db60d01be7 (diff) |
weld SwWrapDlg
Change-Id: Ib60a44932764965ab6af3055d615771617737392
Reviewed-on: https://gerrit.libreoffice.org/60816
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/inc/wrap.hxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/drwbassh.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/wrap.hxx b/sw/source/uibase/inc/wrap.hxx index c0c34f1b6404..744b9cf183f2 100644 --- a/sw/source/uibase/inc/wrap.hxx +++ b/sw/source/uibase/inc/wrap.hxx @@ -29,10 +29,10 @@ namespace vcl { class Window; } class SfxItemSet; class SwWrtShell; -class SwWrapDlg : public SfxSingleTabDialog +class SwWrapDlg : public SfxSingleTabDialogController { public: - SwWrapDlg(vcl::Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, bool bDrawMode); + SwWrapDlg(weld::Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, bool bDrawMode); }; // circulation TabPage diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx index 0ab94affdb5a..6c77a0dc1eab 100644 --- a/sw/source/uibase/shells/drwbassh.cxx +++ b/sw/source/uibase/shells/drwbassh.cxx @@ -137,7 +137,7 @@ void SwDrawBaseShell::Execute(SfxRequest const &rReq) pSh->GetObjAttr(aSet); SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); - ScopedVclPtr<SfxAbstractDialog> pDlg(pFact->CreateSwWrapDlg( GetView().GetWindow(), aSet, pSh )); + ScopedVclPtr<SfxAbstractDialog> pDlg(pFact->CreateSwWrapDlg(GetView().GetFrameWeld(), aSet, pSh)); if (pDlg->Execute() == RET_OK) { |