[Libreoffice-commits] libcdr.git: src/lib
Fridrich Å trba
fridrich.strba at bluewin.ch
Tue Nov 19 04:47:10 PST 2013
src/lib/CDRParser.cpp | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit be72b4f99fabd5ca109d2b64c0e3155f0f45410b
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Tue Nov 19 13:46:46 2013 +0100
Don't parse arrows for versions <= 5
Change-Id: I90684d9c731d6daee25e18bedbbb0ee951327671
diff --git a/src/lib/CDRParser.cpp b/src/lib/CDRParser.cpp
index 7d5c6a7..f73e54f 100644
--- a/src/lib/CDRParser.cpp
+++ b/src/lib/CDRParser.cpp
@@ -1489,6 +1489,8 @@ void libcdr::CDRParser::readPath(librevenge::RVNGInputStream *input)
void libcdr::CDRParser::readArrw(librevenge::RVNGInputStream *input, unsigned length)
{
CDR_DEBUG_MSG(("CDRParser::readArrw\n"));
+ if (m_version < 600)
+ return;
if (!_redirectX6Chunk(&input, length))
throw GenericException();
unsigned arrowId = readU32(input);
More information about the Libreoffice-commits
mailing list