summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/inc/unx/gtk/gtkinst.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx
index 93a041b7982a..31229565a642 100644
--- a/vcl/inc/unx/gtk/gtkinst.hxx
+++ b/vcl/inc/unx/gtk/gtkinst.hxx
@@ -137,7 +137,12 @@ class GtkDragSource : public cppu::WeakComponentImplHelper<css::datatransfer::dn
css::uno::Reference<css::datatransfer::XTransferable> m_xTrans;
VclToGtkHelper m_aConversionHelper;
public:
- GtkDragSource() : WeakComponentImplHelper( m_aMutex ) {}
+ GtkDragSource()
+ : WeakComponentImplHelper(m_aMutex)
+ , m_pFrame(nullptr)
+ {
+ }
+
virtual ~GtkDragSource();
// XDragSource