summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/scmatrix.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2020-07-08 18:36:59 +0200
committerEike Rathke <erack@redhat.com>2020-07-08 23:12:29 +0200
commit7ead920f7015bb8e7a4343b863333bb26187d9a3 (patch)
tree611fffeb46a10fd092a27daa9a2686630158cfda /sc/source/core/tool/scmatrix.cxx
parentebe3a4b1d7eed5439c125c088b1fb4df438e8614 (diff)
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
Diffstat (limited to 'sc/source/core/tool/scmatrix.cxx')
-rw-r--r--sc/source/core/tool/scmatrix.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index b27f73a10b94..fdba2f1b7989 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