[Libreoffice-commits] libvisio.git: src/lib
Fridrich Å trba
fridrich.strba at bluewin.ch
Fri Jul 19 05:56:11 PDT 2013
src/lib/VSDParser.cpp | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit 0dde4b276e1de771fbf6525131cdbbe19b34908c
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Fri Jul 19 14:55:46 2013 +0200
Guides don't exist and if you saw them, we burn your eyes
diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp
index 2e3b602..351518a 100644
--- a/src/lib/VSDParser.cpp
+++ b/src/lib/VSDParser.cpp
@@ -321,7 +321,6 @@ void libvisio::VSDParser::handleStream(const Pointer &ptr, unsigned idx, unsigne
m_currentStencil = &tmpStencil;
break;
case VSD_SHAPE_GROUP:
- case VSD_SHAPE_GUIDE:
case VSD_SHAPE_SHAPE:
case VSD_SHAPE_FOREIGN:
m_currentShapeID = idx;
@@ -376,7 +375,6 @@ void libvisio::VSDParser::handleStream(const Pointer &ptr, unsigned idx, unsigne
}
break;
case VSD_SHAPE_GROUP:
- case VSD_SHAPE_GUIDE:
case VSD_SHAPE_SHAPE:
case VSD_SHAPE_FOREIGN:
if (m_isStencilStarted)
@@ -430,10 +428,6 @@ void libvisio::VSDParser::handleChunk(WPXInputStream *input)
{
switch (m_header.chunkType)
{
- 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:
More information about the Libreoffice-commits
mailing list