diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-22 10:15:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-22 13:40:13 +0200 |
commit | d97fe19f4c93eb8bd49d7895e51e0d17101d7d18 (patch) | |
tree | 3bd2b535467b041bfa62c794892a31c597c74526 /sw/source/uibase/dialog | |
parent | fe546ea0c2e2b2cb8ad68a0d4e0955fc3c963c1e (diff) |
we can be less verbose
Change-Id: I3adf8299b920fc7a9a44fc65ea5d48eb123d7eee
Reviewed-on: https://gerrit.libreoffice.org/77951
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/dialog')
-rw-r--r-- | sw/source/uibase/dialog/regionsw.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/dialog/regionsw.cxx b/sw/source/uibase/dialog/regionsw.cxx index 63f574429d0c..79586fe54033 100644 --- a/sw/source/uibase/dialog/regionsw.cxx +++ b/sw/source/uibase/dialog/regionsw.cxx @@ -82,7 +82,7 @@ void SwBaseShell::InsertRegionDialog(SfxRequest& rReq) aSet.Put(SvxSizeItem(SID_ATTR_PAGE_SIZE, Size(nWidth, nWidth))); SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); VclPtr<AbstractInsertSectionTabDialog> aTabDlg(pFact->CreateInsertSectionTabDialog( - GetView().GetViewFrame()->GetWindow().GetFrameWeld(), aSet , rSh)); + GetView().GetFrameWeld(), aSet , rSh)); aTabDlg->StartExecuteAsync([aTabDlg](sal_Int32 /*nResult*/){ aTabDlg->disposeOnce(); }); @@ -191,7 +191,7 @@ void SwWrtShell::StartInsertRegionDialog(const SwSectionData& rSectionData) aSet.Put(SvxSizeItem(SID_ATTR_PAGE_SIZE, Size(nWidth, nWidth))); SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); VclPtr<AbstractInsertSectionTabDialog> aTabDlg(pFact->CreateInsertSectionTabDialog( - GetView().GetViewFrame()->GetWindow().GetFrameWeld(), aSet, *this)); + GetView().GetFrameWeld(), aSet, *this)); aTabDlg->SetSectionData(rSectionData); aTabDlg->StartExecuteAsync([aTabDlg](sal_Int32 /*nResult*/){ aTabDlg->disposeOnce(); @@ -212,7 +212,7 @@ void SwBaseShell::EditRegionDialog(SfxRequest const & rReq) case FN_EDIT_REGION: case FN_EDIT_CURRENT_REGION: { - weld::Window* pParentWin = GetView().GetViewFrame()->GetWindow().GetFrameWeld(); + weld::Window* pParentWin = GetView().GetFrameWeld(); { SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); ScopedVclPtr<AbstractEditRegionDlg> pEditRegionDlg(pFact->CreateEditRegionDlg(pParentWin, rWrtShell)); |