From d80ff1025bf1d3b7dcfea51fb8bea6fde6f84c4f Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 11 Aug 2011 16:00:55 +0200 Subject: [PATCH] ignore RTF_FORMSHADE --- writerfilter/source/rtftok/rtfdocumentimpl.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 4988e42553cd..97d38a0df2bd 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -1754,6 +1754,9 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword) case RTF_NOLINE: lcl_eraseNestedAttribute(m_aStates.top().aSectionSprms, NS_ooxml::LN_EG_SectPrContents_lnNumType, NS_ooxml::LN_CT_LineNumber_distance); break; + case RTF_FORMSHADE: + // Noop, this is the default in Writer. + break; default: #if OSL_DEBUG_LEVEL > 1 OSL_TRACE("%s: TODO handle flag '%s'", OSL_THIS_FUNC, lcl_RtfToString(nKeyword));