summaryrefslogtreecommitdiff
path: root/drawinglayer/source/tools/emfppath.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-23 16:02:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-23 20:49:03 +0100
commit9c2e77152c3b824153ef5451ababe58dc5ce981c (patch)
tree7aaeaa6398fceea14ee508c9b3b5c082f2536920 /drawinglayer/source/tools/emfppath.hxx
parentbf059cd63fe01094b3eb469b2f4529820d692f32 (diff)
loplugin:unusedfields make some fields private
this is one of the secondary analyses this plugin performs Change-Id: Iaa4424c2396470c6f1df85b0290fbffdda35fa08 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/tools/emfppath.hxx')
-rw-r--r--drawinglayer/source/tools/emfppath.hxx3
1 files changed, 2 insertions, 1 deletions
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;