diff options
author | David Tardon <dtardon@redhat.com> | 2013-06-07 15:13:40 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-07-19 14:42:42 +0200 |
commit | 08e4285cc0705f8cbe452b26c97c313136b431db (patch) | |
tree | bbcc1c9112f7802f0a256dfd1088b5d046a99fb6 | |
parent | e8a2a552019b2697662ca62975c21c760fe5a8b8 (diff) |
fdo#63255 ignore guides
-rw-r--r-- | src/lib/VSDParser.cpp | 5 |
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); |