summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-30 16:08:24 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-03 00:48:14 +0100
commit18ab7abaa9426cd27092125637fdf5fb849b4a04 (patch)
treeccebd65335fc2470ce40360c7cbfaaa6fe4cffe3 /sw
parentc6fdc42e87d3474d89d33486a23885a2921160af (diff)
MediaWindow::executeMediaURLDialog: add link button
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/shells/grfshex.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/ui/shells/grfshex.cxx b/sw/source/ui/shells/grfshex.cxx
index 4dbda31f96ce..834057916f00 100644
--- a/sw/source/ui/shells/grfshex.cxx
+++ b/sw/source/ui/shells/grfshex.cxx
@@ -89,7 +89,9 @@ bool SwTextShell::InsertMediaDlg( SfxRequest& rReq )
}
}
- if( bAPI || ::avmedia::MediaWindow::executeMediaURLDialog( pWindow, aURL ) )
+ bool bLink(true);
+ if (bAPI ||
+ ::avmedia::MediaWindow::executeMediaURLDialog(pWindow, aURL, & bLink))
{
Size aPrefSize;