diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-26 14:10:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-26 18:03:51 +0100 |
commit | 5c5eeecfd5ad156489302cc48c2ce03f1ed2d6c8 (patch) | |
tree | b24785eb215b290bb3326c2a9ca7f8842d461730 | |
parent | c700ded8cfc89368141dfbf8baab732f676ad395 (diff) |
drop unused argument
Change-Id: I4df204cd26046e7b767adf5b5e9ab568a4f8501c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113159
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/core/tool/scmatrix.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index 86923f3ed367..9013e2e14f80 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -3309,7 +3309,7 @@ struct COp {}; template <typename T> struct COp<T, svl::SharedString> { - const svl::SharedString& operator()(char, T /*aOp*/, double /*a*/, double /*b*/, const svl::SharedString& rString) const + const svl::SharedString& operator()(T /*aOp*/, double /*a*/, double /*b*/, const svl::SharedString& rString) const { return rString; } @@ -3318,7 +3318,7 @@ struct COp<T, svl::SharedString> template <typename T> struct COp<T, double> { - double operator()(char, T aOp, double a, double b, const svl::SharedString& /*rString*/) const + double operator()(T aOp, double a, double b, const svl::SharedString& /*rString*/) const { return aOp( a, b); } @@ -3353,8 +3353,7 @@ public: maOp(aOp), mpErrorInterpreter(pErrorInterpreter), maString(rString), - mfVal(fVal), - maCOp() + mfVal(fVal) { if (mpErrorInterpreter) { @@ -3381,7 +3380,7 @@ public: TEmptyRes operator()(char) const { - return maCOp({}, maOp, 0, mfVal, maString); + return maCOp(maOp, 0, mfVal, maString); } static bool useFunctionForEmpty() |