diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-30 12:01:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-30 12:01:28 +0000 |
commit | 2d49006f7cb04d7b3b71481f1f3aecf0f6d70dff (patch) | |
tree | e1af4407345fb96c3c3b26c7898c40a41215a987 /vcl/unx/gtk | |
parent | 367dc08f9a7e34fe108c289a59548716e9abdf54 (diff) |
uninitialized m_pGraphics -> cppcanvas_emfplus kaboom
Change-Id: I370f63ed12e187684332112b9510a9892a665129
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r-- | vcl/unx/gtk/gtksalframe.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx index 6da958d169c7..c5c01a4faf5f 100644 --- a/vcl/unx/gtk/gtksalframe.cxx +++ b/vcl/unx/gtk/gtksalframe.cxx @@ -494,6 +494,7 @@ void GtkSalFrame::doKeyCallback( guint state, GtkSalFrame::GtkSalFrame( SalFrame* pParent, SalFrameStyleFlags nStyle ) : m_nXScreen( getDisplay()->GetDefaultXScreen() ) + , m_pGraphics(nullptr) { getDisplay()->registerFrame( this ); m_bDefaultPos = true; @@ -507,6 +508,7 @@ GtkSalFrame::GtkSalFrame( SalFrame* pParent, SalFrameStyleFlags nStyle ) GtkSalFrame::GtkSalFrame( SystemParentData* pSysData ) : m_nXScreen( getDisplay()->GetDefaultXScreen() ) + , m_pGraphics(nullptr) { getDisplay()->registerFrame( this ); // permanently ignore errors from our unruly children ... |