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

New commits:
commit 08e4285cc0705f8cbe452b26c97c313136b431db
Author: David Tardon <dtar...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to