[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sd/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Jul 16 15:31:33 UTC 2018
sd/source/ui/func/fuscale.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4cf90e58fe2319a2017e51499817d0866829bd28
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 16 12:00:24 2018 +0100
Commit: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Mon Jul 16 17:31:12 2018 +0200
tdf#118769 parent of modal dialog not set
Change-Id: Ie3b1a626eb0ca4f39e015a18fede935b36ed194e
Reviewed-on: https://gerrit.libreoffice.org/57493
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/sd/source/ui/func/fuscale.cxx b/sd/source/ui/func/fuscale.cxx
index 5b2505985d27..e1b2dba2a4bc 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 ? pFact->CreateSvxZoomDialog(nullptr, aNewAttr) : nullptr);
+ ScopedVclPtr<AbstractSvxZoomDialog> pDlg(pFact ? pFact->CreateSvxZoomDialog(rReq.GetFrameWeld(), aNewAttr) : nullptr);
if (pDlg)
{
pDlg->SetLimits( static_cast<sal_uInt16>(mpWindow->GetMinZoom()), static_cast<sal_uInt16>(mpWindow->GetMaxZoom()) );
More information about the Libreoffice-commits
mailing list