You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.7 KiB
50 lines
1.7 KiB
From e39b9f080b9cd7ed0e64a43a4c6a053c1dd67718 Mon Sep 17 00:00:00 2001
|
|
From: David Tardon <dtardon@redhat.com>
|
|
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
|
|
|