summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-02 21:30:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-03 16:14:42 +0200
commit1abd3b0e00766a6674d965535bd18a4891bac06e (patch)
tree3844111a7598c5c3c0d1e6a4d6315d2c31b4be15 /sw/source/uibase
parentb625d790bf1ccab1b4071ea7670a6e1ceab5fb64 (diff)
set parent for insert media file dialog
Change-Id: I71eace1995b229caa75e61df363fd8bad981bed1 Reviewed-on: https://gerrit.libreoffice.org/41851 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 'sw/source/uibase')
-rw-r--r--sw/source/uibase/shells/grfshex.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/grfshex.cxx b/sw/source/uibase/shells/grfshex.cxx
index cf3c3589fc9a..a8f92194cbb9 100644
--- a/sw/source/uibase/shells/grfshex.cxx
+++ b/sw/source/uibase/shells/grfshex.cxx
@@ -74,8 +74,7 @@ bool SwTextShell::InsertMediaDlg( SfxRequest const & rReq )
}
bool bLink(true);
- if (bAPI ||
- ::avmedia::MediaWindow::executeMediaURLDialog(aURL, & bLink))
+ if (bAPI || ::avmedia::MediaWindow::executeMediaURLDialog(pWindow, aURL, & bLink))
{
Size aPrefSize;