1 From f7ca931e581f2d63f73bcd324da50f5ee3ae1f59 Mon Sep 17 00:00:00 2001
2 From: David Tardon <dtardon@redhat.com>
3 Date: Thu, 25 Jun 2015 18:09:17 +0200
4 Subject: [PATCH] try to fix build on Windows
6 Change-Id: Iff2aa943aef9c23c60e400f092f884fc00de4ccf
8 src/lib/IWORKPath.cpp | 14 +-------------
9 1 file changed, 1 insertion(+), 13 deletions(-)
11 diff --git a/src/lib/IWORKPath.cpp b/src/lib/IWORKPath.cpp
12 index 0600106..cb33097 100644
13 --- a/src/lib/IWORKPath.cpp
14 +++ b/src/lib/IWORKPath.cpp
15 @@ -266,18 +266,6 @@ void CurveTo::write(RVNGPropertyList &element) const
22 -void doAppendCurveTo(IWORKPath *const path, const std::vector<double> &points)
25 - assert(points.size() == 6);
26 - path->appendCurveTo(points[0], points[1], points[2], points[3], points[4], points[5]);
31 IWORKPath::Element::~Element()
34 @@ -301,7 +289,7 @@ IWORKPath::IWORKPath(const std::string &path)
36 const qi::rule<string::const_iterator, ascii::space_type> rule =
38 - ('C' >> qi::repeat(6)[double_])[bind(&doAppendCurveTo, this, qi::_1)]
39 + ('C' >> double_ >> double_ >> double_ >> double_ >> double_ >> double_)[bind(&IWORKPath::appendCurveTo, this, qi::_1, qi::_2, qi::_3, qi::_4, qi::_5, qi::_6)]
40 | ('M' >> double_ >> double_)[bind(&IWORKPath::appendMoveTo, this, qi::_1, qi::_2)]
41 | ('L' >> double_ >> double_)[bind(&IWORKPath::appendLineTo, this, qi::_1, qi::_2)]
42 | qi::char_('Z')[bind(&IWORKPath::appendClose, this)]