diff options
Diffstat (limited to 'sd/source/ui/inc/framework/Pane.hxx')
-rw-r--r-- | sd/source/ui/inc/framework/Pane.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx index e9c94df151db..a38ae7bb1103 100644 --- a/sd/source/ui/inc/framework/Pane.hxx +++ b/sd/source/ui/inc/framework/Pane.hxx @@ -29,6 +29,7 @@ #include <cppuhelper/compbase3.hxx> #include <boost/shared_ptr.hpp> #include <boost/weak_ptr.hpp> +#include <vcl/vclptr.hxx> namespace vcl { class Window; } @@ -135,7 +136,7 @@ public: protected: ::com::sun::star::uno::Reference<com::sun::star::drawing::framework::XResourceId> mxPaneId; - vcl::Window* mpWindow; + VclPtr<vcl::Window> mpWindow; ::com::sun::star::uno::Reference<com::sun::star::awt::XWindow> mxWindow; ::com::sun::star::uno::Reference<com::sun::star::rendering::XCanvas> mxCanvas; |