summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun5.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:17 +0200
commit103bc8ff3ce9df931508a172a140afdfb7af2577 (patch)
tree71c1edbd40131c0d3d97a6c34dcffeafb6e4870f /sc/source/ui/view/viewfun5.cxx
parentd1d67644164f57c07ffb3355e3279326866613a2 (diff)
loplugin:defaultparams
Change-Id: If189c1e4254ae00725ec76a5ca6354d24df2d351
Diffstat (limited to 'sc/source/ui/view/viewfun5.cxx')
-rw-r--r--sc/source/ui/view/viewfun5.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index dd8bb7e7c9e3..1891ec07ec34 100644
--- a/sc/source/ui/view/viewfun5.cxx
+++ b/sc/source/ui/view/viewfun5.cxx
@@ -491,7 +491,7 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId,
OUString aPath = aPathOpt.GetPalettePath();
ScDocShellRef aDragShellRef( new ScDocShell );
- aDragShellRef->DoInitNew(NULL);
+ aDragShellRef->DoInitNew();
std::unique_ptr<FmFormModel> pModel(new FmFormModel( aPath, NULL, aDragShellRef ));
pModel->GetItemPool().FreezeIdRanges();