summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-08-03 17:54:11 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-08-03 23:23:43 +0000
commit8da4ba9be2d2deb8990f40fa0cc5d6b16d525c72 (patch)
treea3e8f254878c5455087d2ee7a9125e4715b3cf95 /starmath/source
parent7fc61bc051fa2bb6a95bbc76d6239118f3eb434b (diff)
starmath: SmDynIntegralNode always has a couple of subnodes
And the 0th subnode is SmDynIntegralSymbolNode. Change-Id: Icb15125abf1846204d0f9130ad1ec964c5172589 Reviewed-on: https://gerrit.libreoffice.org/27820 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/node.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index e6a47267791d..c1d53f1975cf 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -807,7 +807,7 @@ void SmDynIntegralNode::CreateTextFromNode(OUString &rText)
{
rText += "intd ";
- SmNode *pBody = GetSubNode(1);
+ SmNode *pBody = Body();
if (pBody->GetNumSubNodes() > 1)
rText += "{ ";