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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 22 13:33:42 UTC 2018


 sd/source/ui/func/fuprlout.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 1a6552c5d96626112608eee204f51bdc71da1fc2
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Oct 22 13:36:17 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Oct 22 15:33:21 2018 +0200

    Resolves: tdf#120785 no parent set via status bar
    
    Change-Id: Ibdc0f75b18330b77e18293f7485e165d2133290e
    Reviewed-on: https://gerrit.libreoffice.org/62179
    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/fuprlout.cxx b/sd/source/ui/func/fuprlout.cxx
index e6822e7f7be3..5cea52322ca9 100644
--- a/sd/source/ui/func/fuprlout.cxx
+++ b/sd/source/ui/func/fuprlout.cxx
@@ -39,6 +39,7 @@
 #include <app.hrc>
 #include <DrawDocShell.hxx>
 #include <SlideSorterViewShell.hxx>
+#include <Window.hxx>
 #include <unprlout.hxx>
 #include <unchss.hxx>
 #include <unmovss.hxx>
@@ -170,7 +171,7 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq )
     else
     {
         SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create();
-        ScopedVclPtr<AbstractSdPresLayoutDlg> pDlg(pFact->CreateSdPresLayoutDlg(rReq.GetFrameWeld(), mpDocSh, aSet));
+        ScopedVclPtr<AbstractSdPresLayoutDlg> pDlg(pFact->CreateSdPresLayoutDlg(mpWindow ? mpWindow->GetFrameWeld() : nullptr, mpDocSh, aSet));
 
         sal_uInt16 nResult = pDlg->Execute();
 


More information about the Libreoffice-commits mailing list