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

David Tardon dtardon at redhat.com
Tue Jul 1 01:19:39 PDT 2014


 src/lib/PolygonUtils.cpp |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 50e45a89147807dadb301cc7b6ba934806ae269a
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Jul 1 10:10:01 2014 +0200

    fdo#80661 clash with a global symbol from libreoffice
    
    Change-Id: I7d556a5a207b055342a0b369cc0cb800b60014df

diff --git a/src/lib/PolygonUtils.cpp b/src/lib/PolygonUtils.cpp
index ddda0fb..44a7f74 100644
--- a/src/lib/PolygonUtils.cpp
+++ b/src/lib/PolygonUtils.cpp
@@ -5696,6 +5696,9 @@ Coordinate libmspub::CustomShape::getTextRectangle(double x, double y, double wi
   return Coordinate(startX, startY, endX, endY);
 }
 
+namespace
+{
+
 struct LineInfo
 {
   librevenge::RVNGPropertyListVector m_vertices;
@@ -5719,6 +5722,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,


More information about the Libreoffice-commits mailing list