summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun4.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-19 12:52:25 +0200
committerNoel Grandin <noel@peralex.com>2016-08-19 14:16:54 +0200
commit2749667151618307a5faab3af44132da05b77f0e (patch)
treea023433e8cdf275ef9cbb1e68c56f6d754a5f3d9 /sc/source/ui/view/viewfun4.cxx
parent608bceee0505482d7bb443aeec95c132e21e01f4 (diff)
loplugin:countusersofdefaultparams in sc
Change-Id: I4052af7a19616d33c3c5fda9650d8fc4dff32256
Diffstat (limited to 'sc/source/ui/view/viewfun4.cxx')
-rw-r--r--sc/source/ui/view/viewfun4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx
index c46cbd578ab5..01f9325e1aab 100644
--- a/sc/source/ui/view/viewfun4.cxx
+++ b/sc/source/ui/view/viewfun4.cxx
@@ -660,7 +660,7 @@ bool ScViewFunc::PasteFile( const Point& rPos, const OUString& rFile, bool bLink
OUString aName;
uno::Reference < embed::XEmbeddedObject > xObj = aCnt.InsertEmbeddedObject( aMedium, aName );
if( xObj.is() )
- return PasteObject( rPos, xObj );
+ return PasteObject( rPos, xObj, nullptr );
// If an OLE object can't be created, insert a URL button