[PATCH] Changed the Corel Draw versions for udta

Fridrich Strba (via Code Review) gerrit at gerrit.libreoffice.org
Fri Aug 30 22:36:02 PDT 2013


Hi,

I would like you to review the following patch:

    https://gerrit.libreoffice.org/5716

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/libcdr refs/changes/16/5716/1

Changed the Corel Draw versions for udta

Change-Id: I56858984c6ce67d732294020669687053b7b8b50
---
M src/lib/CDRParser.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/lib/CDRParser.cpp b/src/lib/CDRParser.cpp
index 9308ff3..06280b7 100644
--- a/src/lib/CDRParser.cpp
+++ b/src/lib/CDRParser.cpp
@@ -3285,7 +3285,7 @@
 void libcdr::CDRParser::readUdta(WPXInputStream *input)
 {
   CDR_DEBUG_MSG(("libcdr::CDRParser::readUdta\n"));
-  if (m_version == 1400)
+  if (m_version >= 1300 && m_version <= 1500)
   {
     input->seek(6, WPX_SEEK_CUR); // Not sure what these bytes are for.  Field id?
     std::vector<unsigned char> name;

-- 
To view, visit https://gerrit.libreoffice.org/5716
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I56858984c6ce67d732294020669687053b7b8b50
Gerrit-PatchSet: 1
Gerrit-Project: libcdr
Gerrit-Branch: master
Gerrit-Owner: Fridrich Strba <fridrich at documentfoundation.org>



More information about the LibreOffice mailing list