diff options
Diffstat (limited to 'src/lib/VSDParser.cpp')
-rw-r--r-- | src/lib/VSDParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp index 7c903ce..3cb284a 100644 --- a/src/lib/VSDParser.cpp +++ b/src/lib/VSDParser.cpp @@ -678,7 +678,7 @@ void libvisio::VSDParser::_handleLevelChange(unsigned level) return; if (level <= m_currentShapeLevel+1) { - if (!m_shape.m_geometries.empty() && m_currentGeometryList->empty()) + if (!m_shape.m_geometries.empty() && m_currentGeometryList && m_currentGeometryList->empty()) { m_shape.m_geometries.erase(--m_currentGeomListCount); m_currentGeometryList = 0; |