summaryrefslogtreecommitdiff
path: root/drawinglayer/source/tools
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/tools')
-rw-r--r--drawinglayer/source/tools/emfpbrush.hxx2
-rw-r--r--drawinglayer/source/tools/emfppath.hxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/drawinglayer/source/tools/emfpbrush.hxx b/drawinglayer/source/tools/emfpbrush.hxx
index 5f272a63ac9c..aee3fe02f60e 100644
--- a/drawinglayer/source/tools/emfpbrush.hxx
+++ b/drawinglayer/source/tools/emfpbrush.hxx
@@ -90,7 +90,7 @@ namespace emfplushelper
BrushTypeLinearGradient = 0x00000004
};
- struct EMFPPath;
+ class EMFPPath;
struct EMFPBrush : public EMFPObject
{
diff --git a/drawinglayer/source/tools/emfppath.hxx b/drawinglayer/source/tools/emfppath.hxx
index 8db095a21a69..94a3d342f887 100644
--- a/drawinglayer/source/tools/emfppath.hxx
+++ b/drawinglayer/source/tools/emfppath.hxx
@@ -23,13 +23,14 @@
namespace emfplushelper
{
- struct EMFPPath : public EMFPObject
+ class EMFPPath : public EMFPObject
{
::basegfx::B2DPolyPolygon aPolygon;
sal_uInt32 nPoints;
std::unique_ptr<float[]> pPoints;
std::unique_ptr<sal_uInt8[]> pPointTypes;
+ public:
EMFPPath(sal_uInt32 _nPoints, bool bLines = false);
virtual ~EMFPPath() override;