diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-15 16:12:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 10:16:35 +0200 |
commit | 474b4bbff3af7c6b69554ee332c7f26c68cc440d (patch) | |
tree | e49b0166b5e32ba8f80319a6897608add9605442 /include/toolkit | |
parent | fa286c8934745410aee34ee61ff2b44a67b5e36c (diff) |
loplugin:useuniqueptr in VCLXGraphics
Change-Id: If753b871831a9954048becd0aca73769e23163ec
Diffstat (limited to 'include/toolkit')
-rw-r--r-- | include/toolkit/awt/vclxgraphics.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/toolkit/awt/vclxgraphics.hxx b/include/toolkit/awt/vclxgraphics.hxx index 3818977d4ba0..8fc980a731de 100644 --- a/include/toolkit/awt/vclxgraphics.hxx +++ b/include/toolkit/awt/vclxgraphics.hxx @@ -32,6 +32,7 @@ #include <vcl/vclenum.hxx> #include <vcl/vclptr.hxx> #include <o3tl/typed_flags_set.hxx> +#include <memory> class OutputDevice; namespace vcl { class Region; } @@ -68,7 +69,7 @@ private: Color maLineColor; Color maFillColor; RasterOp meRasterOp; - vcl::Region* mpClipRegion; + std::unique_ptr<vcl::Region> mpClipRegion; void initAttrs(); |