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.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/starmath/source/rtfexport.cxx b/starmath/source/rtfexport.cxx
index 5d9695f71cdc..9ecf86df62d8 100644
--- a/starmath/source/rtfexport.cxx
+++ b/starmath/source/rtfexport.cxx
@@ -71,6 +71,9 @@ void SmRtfExport::HandleText(const SmNode* pNode, int /*nLevel*/)
{
m_pBuffer->append("{" LO_STRING_SVTOOLS_RTF_MR " ");
+ if( pNode->GetToken().eType == TTEXT ) // literal text
+ m_pBuffer->append(LO_STRING_SVTOOLS_RTF_MNOR " ");
+
SmTextNode* pTemp=(SmTextNode* )pNode;
SAL_INFO("starmath.rtf", "Text: " << pTemp->GetText());
for (sal_Int32 i = 0; i < pTemp->GetText().getLength(); i++)