summaryrefslogtreecommitdiff
path: root/writerperfect/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 08:51:46 +0200
committerNoel Grandin <noel@peralex.com>2015-11-17 10:59:46 +0200
commitb4bd157d0fffcd83e7461de35ee9105b53d21314 (patch)
treeda7864aed7891892561574c7cfdc26903ceb05e3 /writerperfect/inc
parent6ceb4e2d7ae61e215707e6ee1d4f893e2fee5126 (diff)
use unique_ptr for pImpl in writerperfect/
Change-Id: I23ab4d214ed01073f26cbbf2e88732ccde4ebc10
Diffstat (limited to 'writerperfect/inc')
-rw-r--r--writerperfect/inc/DirectoryStream.hxx5
-rw-r--r--writerperfect/inc/WPXSvInputStream.hxx5
2 files changed, 4 insertions, 6 deletions
diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx
index d35a78038228..6107af8aacfb 100644
--- a/writerperfect/inc/DirectoryStream.hxx
+++ b/writerperfect/inc/DirectoryStream.hxx
@@ -11,10 +11,9 @@
#define INCLUDED_WRITERPERFECT_DIRECTORYSTREAM_HXX
#include <librevenge-stream/librevenge-stream.h>
-
#include <com/sun/star/uno/Reference.h>
-
#include <writerperfectdllapi.h>
+#include <memory>
namespace com
{
@@ -57,7 +56,7 @@ public:
virtual bool isEnd() override;
private:
- Impl *m_pImpl;
+ std::unique_ptr<Impl> m_pImpl;
};
}
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;
};
}