sd/source/ui/func/fuscale.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 802afa88a85c32bd3a4a56fdc55971bab3f02a25 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jul 16 12:00:24 2018 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Jul 16 14:42:34 2018 +0200 tdf#118769 parent of modal dialog not set Change-Id: Ie3b1a626eb0ca4f39e015a18fede935b36ed194e Reviewed-on: https://gerrit.libreoffice.org/57492 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sd/source/ui/func/fuscale.cxx b/sd/source/ui/func/fuscale.cxx index d693fbdacad6..49b0cff83f8f 100644 --- a/sd/source/ui/func/fuscale.cxx +++ b/sd/source/ui/func/fuscale.cxx @@ -108,7 +108,7 @@ void FuScale::DoExecute( SfxRequest& rReq ) aNewAttr.Put( *pZoomItem ); SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); - ScopedVclPtr<AbstractSvxZoomDialog> pDlg( pFact->CreateSvxZoomDialog(nullptr, aNewAttr) ); + ScopedVclPtr<AbstractSvxZoomDialog> pDlg(pFact->CreateSvxZoomDialog(rReq.GetFrameWeld(), aNewAttr)); pDlg->SetLimits( static_cast<sal_uInt16>(mpWindow->GetMinZoom()), static_cast<sal_uInt16>(mpWindow->GetMaxZoom()) ); sal_uInt16 nResult = pDlg->Execute(); switch( nResult ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits