From 58dd33145db1dbc883bc243e0b764c42bfca3741 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 4 Feb 2016 09:19:09 +0000 Subject: coverity#1351758 Uninitialized pointer field Change-Id: I50639f0f83c2f1135a0c2002145e02fdf15034a5 --- vcl/inc/unx/gtk/gtkinst.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'vcl/inc/unx/gtk/gtkinst.hxx') 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 m_xTrans; VclToGtkHelper m_aConversionHelper; public: - GtkDragSource() : WeakComponentImplHelper( m_aMutex ) {} + GtkDragSource() + : WeakComponentImplHelper(m_aMutex) + , m_pFrame(nullptr) + { + } + virtual ~GtkDragSource(); // XDragSource -- cgit