summaryrefslogtreecommitdiff
path: root/starmath/source/rtfexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/rtfexport.cxx')
-rw-r--r--starmath/source/rtfexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/rtfexport.cxx b/starmath/source/rtfexport.cxx
index 87e51a3b9374..90a13f3ce1f4 100644
--- a/starmath/source/rtfexport.cxx
+++ b/starmath/source/rtfexport.cxx
@@ -24,12 +24,12 @@ SmRtfExport::SmRtfExport(const SmNode* pIn)
void SmRtfExport::ConvertFromStarMath(OStringBuffer& rBuffer, rtl_TextEncoding nEncoding)
{
- if (!m_pTree)
+ if (!GetTree())
return;
m_pBuffer = &rBuffer;
m_nEncoding = nEncoding;
m_pBuffer->append("{" OOO_STRING_SVTOOLS_RTF_IGNORE LO_STRING_SVTOOLS_RTF_MOMATH " ");
- HandleNode(m_pTree, 0);
+ HandleNode(GetTree(), 0);
m_pBuffer->append("}"); // moMath
}