[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - sc/source

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 9 14:52:26 UTC 2020


 sc/source/core/tool/scmatrix.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e2713a0a5677dd92e3a88edc534a2e35ce91a0fb
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Wed Jul 8 18:36:59 2020 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Thu Jul 9 16:51:47 2020 +0200

    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 at redhat.com>
    Tested-by: Jenkins
    (cherry picked from commit 7ead920f7015bb8e7a4343b863333bb26187d9a3)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98339
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 34ee65302349..4c81a803b110 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -3355,7 +3355,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


More information about the Libreoffice-commits mailing list