From e68bfafdcbafc38abe281a2242cfba21354c1bd6 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 2 Apr 2013 15:57:33 +0200 Subject: implement import/export of RTF_MNOR Change-Id: I9caea7fbea4643e57d81ad3b7812d0cc10f54c11 --- starmath/source/rtfexport.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'starmath') 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++) -- cgit