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

Caolán McNamara caolanm at redhat.com
Fri Oct 18 04:50:32 PDT 2013


 vcl/unx/gtk/window/gtksalframe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1b4aa55ecd7b2c3f6e0d281642d0ed0a066dec69
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Oct 18 12:49:49 2013 +0100

    pScreen uninitialized
    
    Change-Id: I244c3b5a949ae5c8a5bf46d1b58439e080b2c848

diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 062a198..4531164 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -2209,7 +2209,7 @@ void GtkSalFrame::SetScreen( unsigned int nNewScreen, int eType, Rectangle *pSiz
     if (maGeometry.nDisplayScreenNumber == nNewScreen && eType == SET_RETAIN_SIZE)
         return;
 
-    GdkScreen *pScreen;
+    GdkScreen *pScreen = NULL;
     GdkRectangle aNewMonitor;
 
     bool bSpanAllScreens = nNewScreen == (unsigned int)-1;


More information about the Libreoffice-commits mailing list