[Libreoffice-commits] core.git: vcl/unx

Michael Meeks michael.meeks at collabora.com
Mon Nov 30 10:51:06 PST 2015


 vcl/unx/gtk/gtksalframe.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 10f59f5fab9ddd60c4863e671738cc3c33747651
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Nov 30 14:03:16 2015 +0000

    vcl: fix further un-initialized boolean.
    
    Change-Id: I8775e56260346a80e466a7c48c19f50f9796b52f
    Reviewed-on: https://gerrit.libreoffice.org/20306
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 10ddfdd..791e04e 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -495,6 +495,7 @@ void GtkSalFrame::doKeyCallback( guint state,
 GtkSalFrame::GtkSalFrame( SalFrame* pParent, SalFrameStyleFlags nStyle )
     : m_nXScreen( getDisplay()->GetDefaultXScreen() )
     , m_pGraphics(nullptr)
+    , m_bGraphics(false)
 {
     getDisplay()->registerFrame( this );
     m_bDefaultPos       = true;
@@ -509,6 +510,7 @@ GtkSalFrame::GtkSalFrame( SalFrame* pParent, SalFrameStyleFlags nStyle )
 GtkSalFrame::GtkSalFrame( SystemParentData* pSysData )
     : m_nXScreen( getDisplay()->GetDefaultXScreen() )
     , m_pGraphics(nullptr)
+    , m_bGraphics(false)
 {
     getDisplay()->registerFrame( this );
     // permanently ignore errors from our unruly children ...


More information about the Libreoffice-commits mailing list