[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/filters/libmsooxml
From:       Lassi Taneli Nieminen <lassniem () gmail ! com>
Date:       2010-11-10 14:59:10
Message-ID: 20101110145910.C2451AC89E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1195191 by lassin:

Fixed pptx ole replacement pictures to work in more cases.


 M  +6 -0      MsooXmlVmlReaderImpl.h  


--- trunk/koffice/filters/libmsooxml/MsooXmlVmlReaderImpl.h #1195190:1195191
@@ -647,6 +647,12 @@
     TRY_READ_ATTR_WITHOUT_NS(id)
     m_currentShapeId = id;
 
+    // For some shapes, it seems that this is the correct id.
+    TRY_READ_ATTR_WITH_NS(o, spid)
+    if (!o_spid.isEmpty()) {
+        m_currentShapeId = o_spid;
+    }
+
     // CSS2 styling properties of the shape, http://www.w3.org/TR/REC-CSS2
     TRY_READ_ATTR_WITHOUT_NS(style)
     RETURN_IF_ERROR(parseCSS(style))
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic