summaryrefslogtreecommitdiff
path: root/include/svx/unopage.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/unopage.hxx')
-rw-r--r--include/svx/unopage.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx
index eefc11c61b2b..1ca099d797eb 100644
--- a/include/svx/unopage.hxx
+++ b/include/svx/unopage.hxx
@@ -40,6 +40,7 @@
#include <comphelper/servicehelper.hxx>
#include <svx/unoprov.hxx>
+#include <memory>
class SdrPage;
class SdrModel;
@@ -70,7 +71,7 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper6< css::drawin
SdrPage* mpPage; // TTTT should be reference
SdrModel* mpModel; // TTTT probably not needed -> use from SdrPage
- SdrView* mpView;
+ std::unique_ptr<SdrView> mpView;
void SelectObjectsInView( const css::uno::Reference< css::drawing::XShapes >& aShapes, SdrPageView* pPageView ) throw ();
void SelectObjectInView( const css::uno::Reference< css::drawing::XShape >& xShape, SdrPageView* pPageView ) throw();