summaryrefslogtreecommitdiff
path: root/drawinglayer/source/tools/emfppen.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-15 00:49:33 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-07-15 11:01:31 +0200
commit96775f3e3c33a92722ee0595fb29e987029ad646 (patch)
tree14f9523f729399bbc92ccafa8e81945d54dfa52d /drawinglayer/source/tools/emfppen.hxx
parenta2e25af0ec427d9c86228ecec349ea2d303abbe1 (diff)
loplugin:useuniqueptr in basic..cppcanvas
Porting over b0e05f9ade9e93c569c6a62c59ac1819e615f27b to copies of emfpp*.[ch]xx Change-Id: I059d2cc371f24ce3d43fc2e255b1dc1c227cf555
Diffstat (limited to 'drawinglayer/source/tools/emfppen.hxx')
-rw-r--r--drawinglayer/source/tools/emfppen.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/drawinglayer/source/tools/emfppen.hxx b/drawinglayer/source/tools/emfppen.hxx
index c4a260f6e4a3..c338fef62029 100644
--- a/drawinglayer/source/tools/emfppen.hxx
+++ b/drawinglayer/source/tools/emfppen.hxx
@@ -22,6 +22,7 @@
#include <emfpbrush.hxx>
#include <com/sun/star/rendering/StrokeAttributes.hpp>
+#include <vector>
namespace emfplushelper
{
@@ -46,11 +47,9 @@ namespace emfplushelper
sal_Int32 dashStyle;
sal_Int32 dashCap;
float dashOffset;
- sal_Int32 dashPatternLen;
- float *dashPattern;
+ std::vector<float> dashPattern;
sal_Int32 alignment;
- sal_Int32 compoundArrayLen;
- float *compoundArray;
+ std::vector<float> compoundArray;
sal_Int32 customStartCapLen;
EMFPCustomLineCap *customStartCap;
sal_Int32 customEndCapLen;