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

Stephan Bergmann sbergman at redhat.com
Mon Nov 30 08:24:40 PST 2015


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

New commits:
commit c2f13bd8dff4526cdfca2eef7770feae3da8bf3a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 30 17:24:10 2015 +0100

    loplugin:nullptr
    
    Change-Id: Ie296794db2d259ea9973a2042a93200c0f93d259

diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 62b0e06..b465404 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -923,7 +923,7 @@ GtkSalFrame::~GtkSalFrame()
         g_object_unref( G_OBJECT( m_pForeignTopLevel) );
 
     delete m_pGraphics;
-    m_pGraphics = NULL;
+    m_pGraphics = nullptr;
 }
 
 void GtkSalFrame::moveWindow( long nX, long nY )
@@ -1171,7 +1171,7 @@ void GtkSalFrame::InitCommon()
     m_aSystemData.pShellWidget  = m_aSystemData.pWidget;
 
     m_bGraphics = false;
-    m_pGraphics = NULL;
+    m_pGraphics = nullptr;
 
     // fake an initial geometry, gets updated via configure event or SetPosSize
     if( m_bDefaultPos || m_bDefaultSize )


More information about the Libreoffice-commits mailing list