diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 08:51:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-17 10:59:46 +0200 |
commit | b4bd157d0fffcd83e7461de35ee9105b53d21314 (patch) | |
tree | da7864aed7891892561574c7cfdc26903ceb05e3 /writerperfect/inc/WPXSvInputStream.hxx | |
parent | 6ceb4e2d7ae61e215707e6ee1d4f893e2fee5126 (diff) |
use unique_ptr for pImpl in writerperfect/
Change-Id: I23ab4d214ed01073f26cbbf2e88732ccde4ebc10
Diffstat (limited to 'writerperfect/inc/WPXSvInputStream.hxx')
-rw-r--r-- | writerperfect/inc/WPXSvInputStream.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/writerperfect/inc/WPXSvInputStream.hxx b/writerperfect/inc/WPXSvInputStream.hxx index 7de7455a6f03..e09f4f1005c1 100644 --- a/writerperfect/inc/WPXSvInputStream.hxx +++ b/writerperfect/inc/WPXSvInputStream.hxx @@ -11,10 +11,9 @@ #define INCLUDED_WRITERPERFECT_WPXSVINPUTSTREAM_HXX #include <librevenge-stream/librevenge-stream.h> - #include <com/sun/star/uno/Reference.h> - #include <writerperfectdllapi.h> +#include <memory> namespace com { @@ -55,7 +54,7 @@ public: virtual bool isEnd() override; private: - WPXSvInputStreamImpl *mpImpl; + std::unique_ptr<WPXSvInputStreamImpl> mpImpl; }; } |