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

David Tardon dtardon at redhat.com
Tue May 16 13:16:58 UTC 2017


 src/lib/VSDXMLParserBase.cpp |   25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

New commits:
commit 38692886d9f7e9f4bfb0f043d2019d6abf20c46b
Author: David Tardon <dtardon at redhat.com>
Date:   Tue May 16 15:16:35 2017 +0200

    nitpick
    
    Change-Id: I48aebd0207376719f70bf590709a3df0eb3452df

diff --git a/src/lib/VSDXMLParserBase.cpp b/src/lib/VSDXMLParserBase.cpp
index b557078..81301d0 100644
--- a/src/lib/VSDXMLParserBase.cpp
+++ b/src/lib/VSDXMLParserBase.cpp
@@ -1983,21 +1983,22 @@ int libvisio::VSDXMLParserBase::readNURBSData(boost::optional<NURBSData> &data,
                         (
                           lit("NURBS")
                           >> '('
-                          >> double_[ref(tmpData.lastKnot) = _1] >> -char_(',')
-                          >> int_[ref(tmpData.degree) = _1] >> -char_(',')
-                          >> int_[ref(tmpData.xType) = _1] >> -char_(',')
-                          >> int_[ref(tmpData.yType) = _1] >> -char_(',')
+                          >> double_[ref(tmpData.lastKnot) = _1] >> -lit(',')
+                          >> int_[ref(tmpData.degree) = _1] >> -lit(',')
+                          >> int_[ref(tmpData.xType) = _1] >> -lit(',')
+                          >> int_[ref(tmpData.yType) = _1] >> -lit(',')
                           >> // array of points, weights and knots
                           (
                             (
-                              (double_[ref(point.first) = _1] >> -char_(',') >>
+                              (double_[ref(point.first) = _1] >> -lit(',') >>
                                double_[ref(point.second) = _1]
                               )[push_back(phx::ref(tmpData.points), phx::cref(point))]
-                              >> -char_(',') >>
-                              double_[push_back(phx::ref(tmpData.knots), _1)] >> -char_(',') >>
+                              >> -lit(',') >>
+                              double_[push_back(phx::ref(tmpData.knots),
+                                _1)] >> -lit(',') >>
                               double_[push_back(phx::ref(tmpData.weights), _1)]
                             )
-                            % -char_(',')
+                            % -lit(',')
                           )
                           >> ')'
                         ),
@@ -2034,14 +2035,14 @@ int libvisio::VSDXMLParserBase::readPolylineData(boost::optional<PolylineData> &
                         (
                           lit("POLYLINE")
                           >> '('
-                          >> int_[ref(tmpData.xType) = _1] >> -char_(',')
-                          >> int_[ref(tmpData.yType) = _1] >> -char_(',')
+                          >> int_[ref(tmpData.xType) = _1] >> -lit(',')
+                          >> int_[ref(tmpData.yType) = _1] >> -lit(',')
                           >> // array of points
                           (
                             (
-                              double_[ref(point.first) = _1] >> -char_(',')
+                              double_[ref(point.first) = _1] >> -lit(',')
                               >> double_[ref(point.second) = _1]
-                            )[push_back(phx::ref(tmpData.points), phx::cref(point))] % -char_(',')
+                            )[push_back(phx::ref(tmpData.points), phx::cref(point))] % -lit(',')
                           )
                           >> ')'
                         ),


More information about the Libreoffice-commits mailing list