sc/source/core/tool/scmatrix.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
New commits: commit 5c5eeecfd5ad156489302cc48c2ce03f1ed2d6c8 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Mar 26 14:10:31 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Mar 26 18:03:51 2021 +0100 drop unused argument Change-Id: I4df204cd26046e7b767adf5b5e9ab568a4f8501c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113159 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> 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() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits