summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-15 00:10:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-15 21:00:54 +0200
commitc07e83bbd79fb4a49cbb7b7e4f31403865989feb (patch)
tree24155a6cb4c57d216b9b26d3ac85ebaf89259bb6 /sfx2
parent112dbca9882ef98a4ff294445939d1c358486691 (diff)
Resolves: tdf#116996 null is a bad parent
Change-Id: I85f2816f1d28260c46ebe7996a74d870321a26a8 Reviewed-on: https://gerrit.libreoffice.org/52895 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appserv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index e0720ab65b33..b38468b5bfa7 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -1358,7 +1358,7 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq )
if ( pFact )
{
VclPtr<VclAbstractDialog> pDlg =
- pFact->CreateFrameDialog( xFrame, rReq.GetSlot(), sPageURL );
+ pFact->CreateFrameDialog(rReq.GetFrameWindow(), xFrame, rReq.GetSlot(), sPageURL );
short nRet = pDlg->Execute();
pDlg.disposeAndClear();
SfxViewFrame* pView = SfxViewFrame::GetFirst();