summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun5.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-09 15:43:41 +0200
committerNoel Grandin <noel@peralex.com>2016-03-10 10:09:59 +0200
commit4358dc795cbd2b49aa87c89795cf63413b82400c (patch)
treeb112046a74791f03b7971d1c22a0d2cb9aa39955 /sc/source/ui/view/viewfun5.cxx
parentf946e905c6c6bb041ae580b14b711c6964af97bd (diff)
loplugin:constantparam in sc
Change-Id: Ia7bc394fdc0dba720751c2a58d55bfe34b239098
Diffstat (limited to 'sc/source/ui/view/viewfun5.cxx')
-rw-r--r--sc/source/ui/view/viewfun5.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index 260f4f8efa46..bbd61e0c005b 100644
--- a/sc/source/ui/view/viewfun5.cxx
+++ b/sc/source/ui/view/viewfun5.cxx
@@ -307,7 +307,7 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId,
// make sense to do it for other data types too.
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
std::unique_ptr<AbstractScTextImportOptionsDlg> pDlg(
- pFact->CreateScTextImportOptionsDlg(nullptr));
+ pFact->CreateScTextImportOptionsDlg());
if (pDlg->Execute() == RET_OK)
{
@@ -336,8 +336,7 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId,
ScAbstractDialogFactory* pFact =
ScAbstractDialogFactory::Create();
std::unique_ptr<AbstractScImportAsciiDlg> pDlg(
- pFact->CreateScImportAsciiDlg( nullptr, OUString(), &aStrm,
- SC_PASTETEXT));
+ pFact->CreateScImportAsciiDlg( OUString(), &aStrm, SC_PASTETEXT));
if (pDlg->Execute() == RET_OK)
{