From 947e8663e9d76d3a75dbd7108ba71635340d55d6 Mon Sep 17 00:00:00 2001 From: "Elen.Subbotina" Date: Fri, 15 May 2015 14:04:07 +0000 Subject: [PATCH] =?UTF-8?q?bug=20=D0=B2=20tpalist3103.rtf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62579 954022d7-b5bf-4e40-9824-e11837661b57 --- ASCOfficeRtfFile/RtfFormatLib/source/RtfField.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ASCOfficeRtfFile/RtfFormatLib/source/RtfField.h b/ASCOfficeRtfFile/RtfFormatLib/source/RtfField.h index 74bb2fbf7d..12a9e19e3c 100644 --- a/ASCOfficeRtfFile/RtfFormatLib/source/RtfField.h +++ b/ASCOfficeRtfFile/RtfFormatLib/source/RtfField.h @@ -231,7 +231,8 @@ public: CString RenderToOOX(RenderParameter oRenderParameter) } else { - if( m_oResult->GetCount() <= 1 ) + nIndex = sInsertText.Find( _T("PRIVATE") ); + if( m_oResult->GetCount() <= 1 && nIndex < 0) { RenderParameter oNewParametr = oRenderParameter; oNewParametr.nType = RENDER_TO_OOX_PARAM_PLAIN;