diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-03-25 14:42:42 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-03-27 10:45:15 +0900 |
commit | 33094a542fbcdcdaf14d5d7304e79f2e5b8cd4de (patch) | |
tree | 51541f146cdb69684a03d08cfabce8803f466a8e /include/vcl/bmpacc.hxx | |
parent | 132ad4f1416126a74f8b48f65da786a4e0ec8c1b (diff) |
vcl: use unique_ptr for fillcolor, linecolor in bmpacc
Change-Id: I09d00c4492d2866aeb79d1a4818a55f9cdfdc4f0
Diffstat (limited to 'include/vcl/bmpacc.hxx')
-rw-r--r-- | include/vcl/bmpacc.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/bmpacc.hxx b/include/vcl/bmpacc.hxx index f0ab33b989f2..ebc00c75c4c4 100644 --- a/include/vcl/bmpacc.hxx +++ b/include/vcl/bmpacc.hxx @@ -221,8 +221,8 @@ public: private: - BitmapColor* mpLineColor; - BitmapColor* mpFillColor; + std::unique_ptr<BitmapColor> mpLineColor; + std::unique_ptr<BitmapColor> mpFillColor; BitmapWriteAccess() {} |