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

New commits:
commit 1635f94ad500bc323c04738d62a7af0e64034221
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Oct 29 14:40:34 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Oct 30 11:07:51 2021 +0200

    add SfxUnoFrameItem arg to indicate what frame sent this SfxRequest
    
    Change-Id: I35b581e1ab66a5fbd9bd9c1034a5c8f22c0294e5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124442
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx 
b/sd/source/ui/slideshow/slideshowimpl.cxx
index ddb72ded108d..b199bd03ddf0 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1501,9 +1501,10 @@ void SlideshowImpl::click( const Reference< XShape >& 
xShape )
             SfxViewFrame* pViewFrm = SfxViewFrame::Current();
             if (pViewFrm)
             {
+                SfxUnoFrameItem aDocFrame(SID_FILLFRAME, 
pViewFrm->GetFrame().GetFrameInterface());
                 pViewFrm->GetDispatcher()->ExecuteList( SID_OPENDOC,
                     SfxCallMode::ASYNCHRON | SfxCallMode::RECORD,
-                    { &aUrl, &aBrowsing });
+                    { &aUrl, &aBrowsing }, { &aDocFrame } );
             }
         }
     }

Reply via email to