summaryrefslogtreecommitdiffstats
path: root/drawinglayer/source/tools/emfpbrush.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-16 14:40:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-19 08:58:46 +0200
commit9653ac69f8c9fdfcd353a1b15c701139dd541e9b (patch)
tree89c1f386b73f74f71009a65545085d97bd74d934 /drawinglayer/source/tools/emfpbrush.hxx
parentloplugin:useuniqueptr in EMFPPen (diff)
downloadcore-9653ac69f8c9fdfcd353a1b15c701139dd541e9b.tar.gz
core-9653ac69f8c9fdfcd353a1b15c701139dd541e9b.zip
loplugin:useuniqueptr in EMFPBrush
Change-Id: I86622a13583137605bf2b6468113da2eb5e4ee0b
Diffstat (limited to 'drawinglayer/source/tools/emfpbrush.hxx')
-rw-r--r--drawinglayer/source/tools/emfpbrush.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/drawinglayer/source/tools/emfpbrush.hxx b/drawinglayer/source/tools/emfpbrush.hxx
index 6a03f6f50e51..b73507817de7 100644
--- a/drawinglayer/source/tools/emfpbrush.hxx
+++ b/drawinglayer/source/tools/emfpbrush.hxx
@@ -107,14 +107,14 @@ namespace emfplushelper
basegfx::B2DHomMatrix brush_transformation;
bool hasTransformation;
sal_Int32 blendPoints;
- float* blendPositions;
+ std::unique_ptr<float[]> blendPositions;
float* blendFactors;
sal_Int32 colorblendPoints;
- float* colorblendPositions;
- ::Color* colorblendColors;
+ std::unique_ptr<float[]> colorblendPositions;
+ std::unique_ptr<::Color[]> colorblendColors;
sal_Int32 surroundColorsNumber;
- ::Color* surroundColors;
- EMFPPath *path;
+ std::unique_ptr<::Color[]> surroundColors;
+ std::unique_ptr<EMFPPath> path;
EmfPlusHatchStyle hatchStyle;
EMFPBrush();