From e39b9f080b9cd7ed0e64a43a4c6a053c1dd67718 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 4 May 2015 17:16:50 +0200 Subject: [PATCH] add missing breaks Change-Id: I200b80dca1db001d49fb97326345539c02c66b90 --- src/lib/VSDXParser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/VSDXParser.cpp b/src/lib/VSDXParser.cpp index f11d778..b8669dd 100644 --- a/src/lib/VSDXParser.cpp +++ b/src/lib/VSDXParser.cpp @@ -1047,6 +1047,7 @@ void libvisio::VSDXParser::readShapeProperties(xmlTextReaderPtr reader) m_shape.m_txtxform = new XForm(); ret = readDoubleData(m_shape.m_txtxform->angle, reader); } + break; case XML_BEGINX: if (XML_READER_TYPE_ELEMENT == tokenType) { @@ -1054,6 +1055,7 @@ void libvisio::VSDXParser::readShapeProperties(xmlTextReaderPtr reader) m_shape.m_xform1d = new XForm1D(); ret = readDoubleData(m_shape.m_xform1d->beginX, reader); } + break; case XML_BEGINY: if (XML_READER_TYPE_ELEMENT == tokenType) { @@ -1061,6 +1063,7 @@ void libvisio::VSDXParser::readShapeProperties(xmlTextReaderPtr reader) m_shape.m_xform1d = new XForm1D(); ret = readDoubleData(m_shape.m_xform1d->beginY, reader); } + break; case XML_ENDX: if (XML_READER_TYPE_ELEMENT == tokenType) { @@ -1068,6 +1071,7 @@ void libvisio::VSDXParser::readShapeProperties(xmlTextReaderPtr reader) m_shape.m_xform1d = new XForm1D(); ret = readDoubleData(m_shape.m_xform1d->endX, reader); } + break; case XML_ENDY: if (XML_READER_TYPE_ELEMENT == tokenType) { -- 2.3.5