diff options
-rw-r--r-- | src/lib/VSDParser.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp index 1b65ac8..9fdb8be 100644 --- a/src/lib/VSDParser.cpp +++ b/src/lib/VSDParser.cpp @@ -845,12 +845,8 @@ void libvisio::VSDParser::readTextBlock(WPXInputStream *input) void libvisio::VSDParser::readGeomList(WPXInputStream *input) { if (!m_shape.m_geometries.empty() && m_currentGeometryList->empty()) - { m_shape.m_geometries.erase(--m_currentGeomListCount); - m_currentGeometryList = 0; - } - if (!m_shape.m_geometries.empty()) // broken file? - m_currentGeometryList = &m_shape.m_geometries[m_currentGeomListCount++]; + m_currentGeometryList = &m_shape.m_geometries[m_currentGeomListCount++]; if (m_header.trailer) { |