[Libreoffice-commits] libvisio.git: src/lib

David Tardon dtardon at redhat.com
Fri Jul 19 05:43:34 PDT 2013


 src/lib/VSDParser.cpp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 08e4285cc0705f8cbe452b26c97c313136b431db
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Jun 7 15:13:40 2013 +0200

    fdo#63255 ignore guides

diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp
index e528df9..2e3b602 100644
--- a/src/lib/VSDParser.cpp
+++ b/src/lib/VSDParser.cpp
@@ -430,8 +430,11 @@ void libvisio::VSDParser::handleChunk(WPXInputStream *input)
 {
   switch (m_header.chunkType)
   {
-  case VSD_SHAPE_GROUP:
   case VSD_SHAPE_GUIDE:
+    // Ignore guides, because they are not really a part of the drawing.
+    // TODO: Maybe we want to show them if they are marked as printable?
+    break;
+  case VSD_SHAPE_GROUP:
   case VSD_SHAPE_SHAPE:
   case VSD_SHAPE_FOREIGN:
     readShape(input);


More information about the Libreoffice-commits mailing list