diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-11 09:48:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-13 06:49:23 +0000 |
commit | e8b49f09074fe184374bee5062715357427ae044 (patch) | |
tree | b9cf1f5e3d7ab8b98345a512b6ddb0da42fe2919 /include/vcl/graph.hxx | |
parent | 5e0e27e758e6f7fa325f36e6e51540e10bab0fdc (diff) |
new loplugin: useuniqueptr: vcl
Change-Id: Idcbc8655108ff57c06c33bbcabd652387bf3c4ec
Reviewed-on: https://gerrit.libreoffice.org/32948
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/graph.hxx')
-rw-r--r-- | include/vcl/graph.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx index 3869db57b782..1339a88c7319 100644 --- a/include/vcl/graph.hxx +++ b/include/vcl/graph.hxx @@ -66,9 +66,9 @@ public: protected: OUString maUpperName; - GraphicReader() : mpReaderData( nullptr ) {} + GraphicReader(); private: - ReaderData* mpReaderData; + std::unique_ptr<ReaderData> mpReaderData; }; class VCL_DLLPUBLIC GraphicConversionParameters |