[Libreoffice-commits] core.git: starmath/source

dante (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 16 13:55:56 UTC 2021


 starmath/source/node.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b7d8c5bc614e826dbe0588593a4de5102ed22cda
Author:     dante <dante19031999 at gmail.com>
AuthorDate: Tue Feb 16 10:14:27 2021 +0100
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Feb 16 14:55:08 2021 +0100

    SetSubnodesBinMo fix node order for diagonal operators
    
    Change-Id: I72a95f91e9bed9aeb6da5f9621f2ba334f63f17c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110977
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index e5916a094224..696db00cca64 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -451,9 +451,9 @@ void SmStructureNode::SetSubNodesBinMo(SmNode* pFirst, SmNode* pSecond, SmNode*
         if (pFirst)
             maSubNodes[0] = pFirst;
         if (pSecond)
-            maSubNodes[1] = pSecond;
+            maSubNodes[2] = pSecond;
         if (pThird)
-            maSubNodes[2] = pThird;
+            maSubNodes[1] = pThird;
     }
     else
     {


More information about the Libreoffice-commits mailing list