[Libreoffice-commits] core.git: sc/source

Caolán McNamara caolanm at redhat.com
Fri Apr 18 03:16:37 PDT 2014


 sc/source/ui/view/tabview.cxx |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit 2756299d43fc04f32a24c1d8cd236d3249643067
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Apr 18 11:12:28 2014 +0100

    coverity#1202953 Uninitialized pointer field
    
    Change-Id: I7d0950873bed5bf9fb83cb72419c9b46555b23ae

diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index aff4024..578d859 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -207,7 +207,18 @@ ScTabView::ScTabView( Window* pParent, ScDocShell& rDocSh, ScTabViewShell* pView
     pDrawBrushSet( NULL ),
     pTimerWindow( NULL ),
     nTipVisible( 0 ),
+    nPrevDragPos( 0 ),
     meBlockMode(None),
+    nBlockStartX( 0 ),
+    nBlockStartXOrig( 0 ),
+    nBlockEndX( 0 ),
+    nBlockStartY( 0 ),
+    nBlockStartYOrig( 0 ),
+    nBlockEndY( 0 ),
+    nBlockStartZ( 0 ),
+    nBlockEndZ( 0 ),
+    nOldCurX( 0 ),
+    nOldCurY( 0 ),
     mfPendingTabBarWidth( -1.0 ),
     bMinimized( false ),
     bInUpdateHeader( false ),


More information about the Libreoffice-commits mailing list