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

Caolán McNamara caolanm at redhat.com
Wed Apr 9 08:10:21 PDT 2014


 sc/source/ui/view/output.cxx   |    2 ++
 sc/source/ui/view/viewdata.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit a420aa90a8ca2c2bf7cc10068d68ae82b946ac6c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 9 16:08:48 2014 +0100

    coverity#708111 Uninitialized scalar field
    
    Change-Id: I937d83e8c219bb1b672ec0b8b40204d9b20c8317

diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index bf23d9a..a619eb9 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -89,6 +89,8 @@ ScViewDataTable::ScViewDataTable() :
                 nFixPosY( 0 ),
                 nCurX( 0 ),
                 nCurY( 0 ),
+                nOldCurX( 0 ),
+                nOldCurY( 0 ),
                 bShowGrid( true ),
                 mbOldCursorValid( false )
 {
commit 500532cdc12689a3eb29d56a3c96515d6a152ab3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 9 15:59:16 2014 +0100

    coverity#708101 Uninitialized scalar field
    
    Change-Id: I9eff260046a08890629b41188082f196d547c734

diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index 9e329eb..a804f91 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -168,6 +168,8 @@ ScOutputData::ScOutputData( OutputDevice* pNewDev, ScOutputType eNewType,
     pViewShell( NULL ),
     pDrawView( NULL ), // #114135#
     bEditMode( false ),
+    nEditCol( 0 ),
+    nEditRow( 0 ),
     bMetaFile( false ),
     bSingleGrid( false ),
     bPagebreakMode( false ),


More information about the Libreoffice-commits mailing list