[PATCH] fdo#46955 fix RTF import of all capitals char prop

Miklos Vajna vmiklos at suse.cz
Sat Mar 24 09:14:12 PDT 2012


---
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index d5d8ee6..ef4d3b8 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2770,6 +2770,7 @@ int RTFDocumentImpl::dispatchToggle(RTFKeyword nKeyword, bool bParam, int nParam
         case RTF_STRIKED: nSprm = NS_sprm::LN_CFDStrike; break;
         case RTF_SCAPS: nSprm = NS_sprm::LN_CFSmallCaps; break;
         case RTF_IMPR: nSprm = NS_sprm::LN_CFImprint; break;
+        case RTF_CAPS: nSprm = NS_sprm::LN_CFCaps; break;
         default: break;
     }
     if (nSprm >= 0)
-- 
1.7.7


--+QahgC5+KEYLbs62--


More information about the LibreOffice mailing list