summaryrefslogtreecommitdiff
path: root/vcl/inc/dndevdis.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/dndevdis.hxx')
-rw-r--r--vcl/inc/dndevdis.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/dndevdis.hxx b/vcl/inc/dndevdis.hxx
index 978910a46f01..b542581efee1 100644
--- a/vcl/inc/dndevdis.hxx
+++ b/vcl/inc/dndevdis.hxx
@@ -32,9 +32,9 @@ class DNDEventDispatcher: public ::cppu::WeakImplHelper3<
::com::sun::star::datatransfer::dnd::XDropTargetDragContext,
::com::sun::star::datatransfer::dnd::XDragGestureListener >
{
- vcl::Window * m_pTopWindow;
+ VclPtr<vcl::Window> m_pTopWindow;
- vcl::Window * m_pCurrentWindow;
+ VclPtr<vcl::Window> m_pCurrentWindow;
void designate_currentwindow(vcl::Window *pWindow);
DECL_LINK(WindowEventListener, VclSimpleEvent*);