diff options
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r-- | starmath/source/node.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index e0c72822f305..469eee1b64ef 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -2511,7 +2511,8 @@ void SmMatrixNode::CreateTextFromNode(String &rText) for (sal_uInt16 j = 0; j < nNumCols; j++) { SmNode *pNode = GetSubNode(i * nNumCols + j); - pNode->CreateTextFromNode(rText); + if (pNode) + pNode->CreateTextFromNode(rText); if (j != nNumCols-1) rText += "# "; } |