diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-27 19:56:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-27 23:31:04 +0200 |
commit | 5000b334e99f9c917c57726960fd51a6c2d7f90e (patch) | |
tree | 3711870b7a602843586851049008eb7ca7103795 /sd | |
parent | e4ff750db6d186ac55c27db226d249e47dfa65a1 (diff) |
pass parent to CreateSfxDialog
Change-Id: Ie46de317003ebbfca3ee99d7ab60bef4ac762f76
Reviewed-on: https://gerrit.libreoffice.org/61054
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fuconnct.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/func/fumeasur.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuconnct.cxx b/sd/source/ui/func/fuconnct.cxx index c9f15b0389c5..12c8daefda58 100644 --- a/sd/source/ui/func/fuconnct.cxx +++ b/sd/source/ui/func/fuconnct.cxx @@ -56,7 +56,7 @@ void FuConnectionDlg::DoExecute( SfxRequest& rReq ) if( !pArgs ) { SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); - ScopedVclPtr<SfxAbstractDialog> pDlg( pFact->CreateSfxDialog( nullptr, aNewAttr, mpView, RID_SVXPAGE_CONNECTION) ); + ScopedVclPtr<SfxAbstractDialog> pDlg(pFact->CreateSfxDialog(rReq.GetFrameWindow(), aNewAttr, mpView, RID_SVXPAGE_CONNECTION)); if( pDlg->Execute() == RET_OK ) { diff --git a/sd/source/ui/func/fumeasur.cxx b/sd/source/ui/func/fumeasur.cxx index f9664d76f253..09e7f86e1e7d 100644 --- a/sd/source/ui/func/fumeasur.cxx +++ b/sd/source/ui/func/fumeasur.cxx @@ -56,7 +56,7 @@ void FuMeasureDlg::DoExecute( SfxRequest& rReq ) if( !pArgs ) { SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); - ScopedVclPtr<SfxAbstractDialog> pDlg( pFact->CreateSfxDialog( nullptr, aNewAttr, mpView, RID_SVXPAGE_MEASURE) ); + ScopedVclPtr<SfxAbstractDialog> pDlg(pFact->CreateSfxDialog(rReq.GetFrameWindow(), aNewAttr, mpView, RID_SVXPAGE_MEASURE)); if( pDlg->Execute() == RET_OK ) { |