[Libreoffice-commits] core.git: Branch 'feature/emfplusprimitiveparser' - emfio/inc emfio/source include/vcl
Armin Le Grand
Armin.Le.Grand at cib.de
Mon Jun 19 12:42:28 UTC 2017
emfio/inc/mtftools.hxx | 6 +++---
emfio/source/reader/mtftools.cxx | 6 +++---
include/vcl/wmfexternal.hxx | 1 +
3 files changed, 7 insertions(+), 6 deletions(-)
New commits:
commit dc3c9f36052ebdbc044f1e6fa60e3f86542ca74a
Author: Armin Le Grand <Armin.Le.Grand at cib.de>
Date: Mon Jun 19 14:39:54 2017 +0200
emfplus: linux build changes
Change-Id: I3041344ceb50a67771c5ae2b12e2805ed77537e7
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx
index e2dc6830e1dd..7442a3111f04 100644
--- a/emfio/inc/mtftools.hxx
+++ b/emfio/inc/mtftools.hxx
@@ -593,13 +593,13 @@ namespace emfio
const Point& rStartAngle,
const Point& rEndAngle
);
- void DrawPolygon(tools::Polygon& rPolygon, bool bRecordPath);
+ void DrawPolygon(tools::Polygon rPolygon, bool bRecordPath);
void DrawPolyPolygon(tools::PolyPolygon& rPolyPolygon, bool bRecordPath = false);
- void DrawPolyLine(tools::Polygon& rPolygon,
+ void DrawPolyLine(tools::Polygon rPolygon,
bool bDrawTo = false,
bool bRecordPath = false
);
- void DrawPolyBezier(tools::Polygon& rPolygin,
+ void DrawPolyBezier(tools::Polygon rPolygin,
bool bDrawTo,
bool bRecordPath
);
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index 05b8cf43bed0..7c2938730b42 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -1246,7 +1246,7 @@ namespace emfio
}
}
- void MtfTools::DrawPolygon( tools::Polygon& rPolygon, bool bRecordPath )
+ void MtfTools::DrawPolygon( tools::Polygon rPolygon, bool bRecordPath )
{
UpdateClipRegion();
ImplMap( rPolygon );
@@ -1351,7 +1351,7 @@ namespace emfio
}
}
- void MtfTools::DrawPolyLine( tools::Polygon& rPolygon, bool bTo, bool bRecordPath )
+ void MtfTools::DrawPolyLine( tools::Polygon rPolygon, bool bTo, bool bRecordPath )
{
UpdateClipRegion();
@@ -1374,7 +1374,7 @@ namespace emfio
}
}
- void MtfTools::DrawPolyBezier( tools::Polygon& rPolygon, bool bTo, bool bRecordPath )
+ void MtfTools::DrawPolyBezier( tools::Polygon rPolygon, bool bTo, bool bRecordPath )
{
sal_uInt16 nPoints = rPolygon.GetSize();
if ( ( nPoints >= 4 ) && ( ( ( nPoints - 4 ) % 3 ) == 0 ) )
diff --git a/include/vcl/wmfexternal.hxx b/include/vcl/wmfexternal.hxx
index 30c58ab0bcb0..fd55c621c060 100644
--- a/include/vcl/wmfexternal.hxx
+++ b/include/vcl/wmfexternal.hxx
@@ -23,6 +23,7 @@
#include <vcl/dllapi.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/beans/PropertyValue.hpp>
struct VCL_DLLPUBLIC WmfExternal
{
More information about the Libreoffice-commits
mailing list