summaryrefslogtreecommitdiff
path: root/include/sfx2/docfac.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 15:24:00 +0200
committerNoel Grandin <noel@peralex.com>2015-11-18 08:35:34 +0200
commit032dae364b4853635186b7541e40c71588f9050a (patch)
tree4e49d6108cf6ddc2ccb6a9fdfbb2199d9018a43d /include/sfx2/docfac.hxx
parent9c205723fcc0a2087ff7bf1e86f4f07b62564d5d (diff)
use unique_ptr for pImpl in sfx2/
Change-Id: I564fa80a2642a4849127f3c25236634289b5b93d
Diffstat (limited to 'include/sfx2/docfac.hxx')
-rw-r--r--include/sfx2/docfac.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/docfac.hxx b/include/sfx2/docfac.hxx
index 138fe6d7e35d..3d279923d87f 100644
--- a/include/sfx2/docfac.hxx
+++ b/include/sfx2/docfac.hxx
@@ -28,6 +28,7 @@
#include <rtl/ustring.hxx>
#include <sfx2/objsh.hxx>
+#include <memory>
class SfxMedium;
class SfxFilter;
@@ -43,7 +44,7 @@ class SFX2_DLLPUBLIC SfxObjectFactory
{
private:
const char* pShortName;
- SfxObjectFactory_Impl* pImpl; // Additional Data
+ std::unique_ptr<SfxObjectFactory_Impl> pImpl; // Additional Data
SfxObjectShellFlags nFlags;
public: