[Libreoffice-commits] .: writerfilter/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Mon Feb 6 07:38:04 PST 2012


 writerfilter/source/rtftok/rtfsdrimport.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6656ddb26186a9f84daa8b6e59d5b5010ca37af1
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Mon Feb 6 16:37:44 2012 +0100

    RTFSdrImport::resolve: replace 75 in the importer as well

diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx
index 6c7dd78..1df7bb3 100644
--- a/writerfilter/source/rtftok/rtfsdrimport.cxx
+++ b/writerfilter/source/rtftok/rtfsdrimport.cxx
@@ -34,6 +34,7 @@
 #include <com/sun/star/text/WritingMode.hpp>
 
 #include <ooxml/resourceids.hxx> // NS_ooxml namespace
+#include <filter/msfilter/escherex.hxx>
 
 #include <rtfsdrimport.hxx>
 
@@ -274,7 +275,7 @@ void RTFSdrImport::resolve(RTFShape& rShape)
                     OUStringToOString( i->second, RTL_TEXTENCODING_UTF8 ).getStr() << "'");
     }
 
-    if (nType == 75) // picture frame
+    if (nType == ESCHER_ShpInst_PictureFrame) // picture frame
     {
         if (bPib)
             m_rImport.resolvePict(false);


More information about the Libreoffice-commits mailing list