src/lib/VSDParser.cpp |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit f784bb8be865b2228e0116fa97a071a4be675121
Author: Fridrich Å trba <[email protected]>
Date:   Wed Jun 5 10:02:00 2013 +0200

    Clarify the code

diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp
index 9fdb8be..7fec7ec 100644
--- a/src/lib/VSDParser.cpp
+++ b/src/lib/VSDParser.cpp
@@ -846,6 +846,9 @@ void libvisio::VSDParser::readGeomList(WPXInputStream 
*input)
 {
   if (!m_shape.m_geometries.empty() && m_currentGeometryList->empty())
     m_shape.m_geometries.erase(--m_currentGeomListCount);
+  // Since this is a map, this will default construct an element and then
+  // the m_currentGeometryList pointer takes its address and we will work
+  // on it over that pointer.
   m_currentGeometryList = &m_shape.m_geometries[m_currentGeomListCount++];
 
   if (m_header.trailer)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to