summaryrefslogtreecommitdiff
path: root/starmath/source/rtfexport.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-08-09 18:25:46 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-08-10 03:09:30 +0000
commit252773f2bcd12660875ba72df744054a6e55b253 (patch)
tree115777dffe86f39b3b44ab6487a199344eb93e98 /starmath/source/rtfexport.cxx
parent107a7cc5a2f1c018cbba6b35f3ea590027f8ec9a (diff)
Expect 3 subnodes for SmBinVerNode/SmBinHorNode/SmBinDiagonalNode
Change-Id: Ib57b60f6b469b3018c5fb30a7a293089bd35e446 Reviewed-on: https://gerrit.libreoffice.org/28001 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/source/rtfexport.cxx')
-rw-r--r--starmath/source/rtfexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/rtfexport.cxx b/starmath/source/rtfexport.cxx
index d8f942820486..b0e947d15b81 100644
--- a/starmath/source/rtfexport.cxx
+++ b/starmath/source/rtfexport.cxx
@@ -77,7 +77,7 @@ void SmRtfExport::HandleFractions(const SmNode* pNode, int nLevel, const char* t
m_pBuffer->append("}"); // mtype
m_pBuffer->append("}"); // mfPr
}
- OSL_ASSERT(pNode->GetNumSubNodes() == 3);
+ assert(pNode->GetNumSubNodes() == 3);
m_pBuffer->append("{" LO_STRING_SVTOOLS_RTF_MNUM " ");
HandleNode(pNode->GetSubNode(0), nLevel + 1);
m_pBuffer->append("}"); // mnum