summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/svx/sdrmasterpagedescriptor.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/sdrmasterpagedescriptor.hxx b/include/svx/sdrmasterpagedescriptor.hxx
index f719bca5322e..a072ed6ba5aa 100644
--- a/include/svx/sdrmasterpagedescriptor.hxx
+++ b/include/svx/sdrmasterpagedescriptor.hxx
@@ -22,6 +22,7 @@
#include <svx/sdrpageuser.hxx>
#include <svx/svdsob.hxx>
+#include <memory>
class SdrObject;
class SfxItemSet;
@@ -45,7 +46,7 @@ namespace sdr
SdrLayerIDSet maVisibleLayers;
// ViewContact part
- sdr::contact::ViewContact* mpViewContact;
+ mutable std::unique_ptr<sdr::contact::ViewContact> mpViewContact;
void operator=(const MasterPageDescriptor& rCandidate) = delete;