summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-05 13:03:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-08 08:29:03 +0200
commit185ed3ddb8c01ee4465ce559e37113824f57b5c7 (patch)
tree596455ca4b9dc85666efbf06a1e1e0a3eec3ee2d /sc/source/ui
parentd33e262a244f351febc9dbe605b05f76cb834eeb (diff)
teach loplugin:constantparam about simple constructor calls
Change-Id: I7d2a28ab5951fbdb5a427c84e9ac4c1e32ecf9f9 Reviewed-on: https://gerrit.libreoffice.org/37280 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 034de933a539..58aed9b24727 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -5014,7 +5014,7 @@ OUString SAL_CALL ScCellRangeObj::getArrayFormula()
}
void ScCellRangeObj::SetArrayFormula_Impl(const OUString& rFormula,
- const OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar)
+ const formula::FormulaGrammar::Grammar eGrammar)
{
ScDocShell* pDocSh = GetDocShell();
if (pDocSh)
@@ -5027,7 +5027,7 @@ void ScCellRangeObj::SetArrayFormula_Impl(const OUString& rFormula,
throw uno::RuntimeException();
}
- pDocSh->GetDocFunc().EnterMatrix( aRange, nullptr, nullptr, rFormula, true, true, rFormulaNmsp, eGrammar );
+ pDocSh->GetDocFunc().EnterMatrix( aRange, nullptr, nullptr, rFormula, true, true, OUString()/*rFormulaNmsp*/, eGrammar );
}
else
{
@@ -5044,7 +5044,7 @@ void SAL_CALL ScCellRangeObj::setArrayFormula( const OUString& aFormula )
{
SolarMutexGuard aGuard;
// GRAM_API for API compatibility.
- SetArrayFormula_Impl( aFormula, OUString(), formula::FormulaGrammar::GRAM_API);
+ SetArrayFormula_Impl( aFormula, formula::FormulaGrammar::GRAM_API);
}
// XArrayFormulaTokens