summaryrefslogtreecommitdiff
path: root/vcl/inc/unx/gtk/gtkinst.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-04 09:19:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-04 09:30:11 +0000
commit58dd33145db1dbc883bc243e0b764c42bfca3741 (patch)
tree452c5bfc99d0b44318be745d03a305dc3c6f80d1 /vcl/inc/unx/gtk/gtkinst.hxx
parent2ce227a7642647267c982909a8b3175d22c58b74 (diff)
coverity#1351758 Uninitialized pointer field
Change-Id: I50639f0f83c2f1135a0c2002145e02fdf15034a5
Diffstat (limited to 'vcl/inc/unx/gtk/gtkinst.hxx')
-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