diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-04-02 15:57:33 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-04-02 16:47:34 +0200 |
commit | e68bfafdcbafc38abe281a2242cfba21354c1bd6 (patch) | |
tree | 75f84000636ead62c1701fae79357ce19c78475f /starmath | |
parent | d0fead61293fdcee8ce3f7ed620784cc093a21ea (diff) |
implement import/export of RTF_MNOR
Change-Id: I9caea7fbea4643e57d81ad3b7812d0cc10f54c11
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/rtfexport.cxx | 3 |
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++) |