summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-07-01 10:10:01 +0200
committerDavid Tardon <dtardon@redhat.com>2014-07-01 14:58:14 +0200
commitaedff4411981ed73bdd077ebad66abdf03a172df (patch)
tree7a0ac4cd88aeca9583826e5964448ebcbb685b90
parent6aa8753461a537aadd2180ebc3d98962bd2224cb (diff)
fdo#80661 clash with a global symbol from libreofficelibmspub-0.0
Change-Id: I7d556a5a207b055342a0b369cc0cb800b60014df (cherry picked from commit 50e45a89147807dadb301cc7b6ba934806ae269a) Signed-off-by: David Tardon <dtardon@redhat.com>
-rw-r--r--src/lib/PolygonUtils.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/PolygonUtils.cpp b/src/lib/PolygonUtils.cpp
index bd79064..54f800a 100644
--- a/src/lib/PolygonUtils.cpp
+++ b/src/lib/PolygonUtils.cpp
@@ -5715,6 +5715,9 @@ Coordinate libmspub::CustomShape::getTextRectangle(double x, double y, double wi
return Coordinate(startX, startY, endX, endY);
}
+namespace
+{
+
struct LineInfo
{
WPXPropertyListVector m_vertices;
@@ -5736,6 +5739,8 @@ struct LineInfo
private:
};
+}
+
void drawEmulatedLine(boost::shared_ptr<const CustomShape> shape, ShapeType shapeType, const std::vector<Line> &lines,
Vector2D center, VectorTransformation2D transform,
double x, double y, double scaleX, double scaleY,