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

New commits:
commit b7d8c5bc614e826dbe0588593a4de5102ed22cda
Author:     dante <dante19031...@gmail.com>
AuthorDate: Tue Feb 16 10:14:27 2021 +0100
Commit:     Noel Grandin <noel.gran...@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.gran...@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
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to