summaryrefslogtreecommitdiff
path: root/drawinglayer/source/tools
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
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')
-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;