From b7d8c5bc614e826dbe0588593a4de5102ed22cda Mon Sep 17 00:00:00 2001 From: dante Date: Tue, 16 Feb 2021 10:14:27 +0100 Subject: 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 --- starmath/source/node.cxx | 4 ++-- 1 file 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 { -- cgit