Resolves: tdf#124454 exec the matrix operator on values converted from strings
Effectively a fallout from the matrix operations rework started
for tdf#89387 that did not convert strings at all and subsequent
work converted the string according to settings but did not apply
the current operator on the result.
Change-Id: I90c8963021396fd9a46b063f6aee96283f89271a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98385
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index b27f73a..fdba2f1 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -3367,7 +3367,7 @@ public:
double operator()(const svl::SharedString& rStr) const
{
return convertStringToValue( mpErrorInterpreter, rStr.getString());
return maOp( convertStringToValue( mpErrorInterpreter, rStr.getString()), mfVal);
}
TEmptyRes operator()(char) const