summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-16 12:00:24 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2018-07-16 17:31:12 +0200
commit4cf90e58fe2319a2017e51499817d0866829bd28 (patch)
tree08277db2c97426667668c5ca346ced681248e721 /sd
parent8158035a44b4577c5a620decd96d2d1ca0c7c3b9 (diff)
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@ubuntu.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/fuscale.cxx2
1 files changed, 1 insertions, 1 deletions
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()) );