diff options
Diffstat (limited to 'sw/source/ui/shells/grfshex.cxx')
-rw-r--r-- | sw/source/ui/shells/grfshex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/shells/grfshex.cxx b/sw/source/ui/shells/grfshex.cxx index 1c7ea14300ca..60988bac1736 100644 --- a/sw/source/ui/shells/grfshex.cxx +++ b/sw/source/ui/shells/grfshex.cxx @@ -86,7 +86,7 @@ bool SwTextShell::InsertMediaDlg( SfxRequest& rReq ) if( pWindow ) pWindow->EnterWait(); - if( !::avmedia::MediaWindow::isMediaURL( aURL, true, &aPrefSize ) ) + if( !::avmedia::MediaWindow::isMediaURL( aURL, "", true, &aPrefSize ) ) { if( pWindow ) pWindow->LeaveWait(); @@ -138,7 +138,7 @@ bool SwTextShell::InsertMediaDlg( SfxRequest& rReq ) SdrMediaObj* pObj = new SdrMediaObj( Rectangle( aPos, aSize ) ); pObj->SetModel(rSh.GetDoc()->GetDrawModel()); // set before setURL - pObj->setURL( realURL ); + pObj->setURL( realURL, "" ); rSh.EnterStdMode(); rSh.SwFEShell::InsertDrawObj( *pObj, aPos ); bRet = true; |