sd/source/ui/func/fuscale.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4cf90e58fe2319a2017e51499817d0866829bd28
Author:     Caolán McNamara <[email protected]>
AuthorDate: Mon Jul 16 12:00:24 2018 +0100
Commit:     Adolfo Jayme Barrientos <[email protected]>
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 <[email protected]>

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()) );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to