summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-06-07 15:13:40 +0200
committerDavid Tardon <dtardon@redhat.com>2013-07-19 14:42:42 +0200
commit08e4285cc0705f8cbe452b26c97c313136b431db (patch)
treebbcc1c9112f7802f0a256dfd1088b5d046a99fb6
parente8a2a552019b2697662ca62975c21c760fe5a8b8 (diff)
fdo#63255 ignore guides
-rw-r--r--src/lib/VSDParser.cpp5
1 files changed, 4 insertions, 1 deletions
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);