summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/grfshex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/shells/grfshex.cxx')
-rw-r--r--sw/source/ui/shells/grfshex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/shells/grfshex.cxx b/sw/source/ui/shells/grfshex.cxx
index 6bfc86cf59af..fe2e7502a3df 100644
--- a/sw/source/ui/shells/grfshex.cxx
+++ b/sw/source/ui/shells/grfshex.cxx
@@ -153,7 +153,7 @@ bool SwTextShell::InsertMediaDlg( SfxRequest& rReq )
pObj->setURL( aURL );
rSh.EnterStdMode();
- rSh.SwFEShell::Insert( *pObj, 0, 0, &aPos );
+ rSh.SwFEShell::InsertDrawObj( *pObj, aPos );
bRet = true;
if( pWindow )