summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/source/mathmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 4fd66bc61c40..890f9799d3b5 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -796,7 +796,7 @@ void SmXMLExport::ExportTable(const SmNode *pNode, int nLevel)
void SmXMLExport::ExportMath(const SmNode *pNode, int /*nLevel*/)
{
- const SmMathSymbolNode *pTemp = static_cast<const SmMathSymbolNode *>(pNode);
+ const SmTextNode *pTemp = static_cast<const SmTextNode *>(pNode);
SvXMLElementExport *pMath = nullptr;
if (pNode->GetType() == NMATH || pNode->GetType() == NGLYPH_SPECIAL)