[Libreoffice-commits] libmspub.git: src/lib
Fridrich Å trba
fridrich.strba at bluewin.ch
Sat Nov 23 13:18:29 PST 2013
src/lib/PolygonUtils.cpp | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit ee40d82a8a93584b3cb3dce17de5e22ecbc52aea
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Sat Nov 23 22:11:34 2013 +0100
drawPoly*: vertices -> "svg:points"
Change-Id: Ic1a37ae6c2cf63fde1acd943a27a4ac668dd45b9
diff --git a/src/lib/PolygonUtils.cpp b/src/lib/PolygonUtils.cpp
index 5d28987..78d4b4f 100644
--- a/src/lib/PolygonUtils.cpp
+++ b/src/lib/PolygonUtils.cpp
@@ -5731,7 +5731,9 @@ struct LineInfo
graphicsProps.insert("svg:stroke-width", m_width);
graphicsProps.insert("svg:stroke-color", m_color);
painter->setStyle(graphicsProps);
- painter->drawPolyline(m_vertices);
+ librevenge::RVNGPropertyList points;
+ points.insert("svg:points", m_vertices);
+ painter->drawPolyline(points);
}
private:
};
@@ -5976,7 +5978,9 @@ void libmspub::writeCustomShape(ShapeType shapeType, librevenge::RVNGPropertyLis
vertex.insert("svg:y", vector.m_y);
vertices.append(vertex);
}
- painter->drawPolygon(vertices);
+ librevenge::RVNGPropertyList points;
+ points.insert("svg:points", vertices);
+ painter->drawPolygon(points);
}
}
else
More information about the Libreoffice-commits
mailing list