summaryrefslogtreecommitdiff
path: root/starmath/source/node.cxx
diff options
context:
space:
mode:
authordante <dante19031999@gmail.com>2021-02-16 10:14:27 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-16 14:55:08 +0100
commitb7d8c5bc614e826dbe0588593a4de5102ed22cda (patch)
treeff2e6771339f69e9667eef55b0cc7f3558e7135d /starmath/source/node.cxx
parent97fa8702c6f8325685bdfb46f6197b9739ebe327 (diff)
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@collabora.co.uk>
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r--starmath/source/node.cxx4
1 files changed, 2 insertions, 2 deletions
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
{