summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArnold Dumas <arnold@dumas.at>2016-08-21 18:54:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-22 06:27:56 +0000
commit57574c988c9efda1b9c72338378973a6ce0741e8 (patch)
tree5d05d82757dfdd268bb05b0dcd37ab5796f20c50 /include
parentb65131af6005860d9977f669d8e68b8edcde239f (diff)
tdf#89329: use unique_ptr for pImpl in svdouno
Change-Id: I3e2fc34fecb735cb9696d2943e69cc9929930e23 Reviewed-on: https://gerrit.libreoffice.org/28278 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdouno.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/svdouno.hxx b/include/svx/svdouno.hxx
index 59af7fd0a593..0c6852924b2c 100644
--- a/include/svx/svdouno.hxx
+++ b/include/svx/svdouno.hxx
@@ -26,6 +26,7 @@
#include <com/sun/star/awt/XControlContainer.hpp>
#include <svx/svxdllapi.h>
#include <svx/svdorect.hxx>
+#include <memory>
// Forward declaration
@@ -45,7 +46,7 @@ class SVX_DLLPUBLIC SdrUnoObj : public SdrRectObj
friend class SdrPageView;
friend class SdrControlEventListenerImpl;
- SdrUnoObjDataHolder* m_pImpl;
+ std::unique_ptr<SdrUnoObjDataHolder> m_pImpl;
OUString aUnoControlModelTypeName;
OUString aUnoControlTypeName;