[Libreoffice-commits] core.git: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jul 16 12:42:57 UTC 2018


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

New commits:
commit 802afa88a85c32bd3a4a56fdc55971bab3f02a25
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 16 12:00:24 2018 +0100
Commit:     Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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 )


More information about the Libreoffice-commits mailing list