[Libreoffice-commits] libvisio.git: 2 commits - Makefile.am src/lib

David Tardon dtardon at redhat.com
Mon May 4 08:25:56 PDT 2015


 Makefile.am            |    2 ++
 src/lib/VSDXParser.cpp |    4 ++++
 2 files changed, 6 insertions(+)

New commits:
commit 2d0ca14036a96deb55767ad86a41533c7e3bf3e8
Author: David Tardon <dtardon at redhat.com>
Date:   Mon May 4 17:24:49 2015 +0200

    add make astyle target
    
    Change-Id: Id757438d7326e314e789f0e753edbc89e9893191

diff --git a/Makefile.am b/Makefile.am
index ca01bdd..59242f5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,3 +23,5 @@ dist-hook:
 tags:
 	ctags --c++-kinds=+p --fields=+iaS --extra=+q -R --totals=yes *
 
+astyle:
+	astyle --options=astyle.options \*.cpp \*.h
commit e39b9f080b9cd7ed0e64a43a4c6a053c1dd67718
Author: David Tardon <dtardon at redhat.com>
Date:   Mon May 4 17:16:50 2015 +0200

    add missing breaks
    
    Change-Id: I200b80dca1db001d49fb97326345539c02c66b90

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)
       {


More information about the Libreoffice-commits mailing list