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

Caolán McNamara caolanm at redhat.com
Fri Oct 6 10:40:13 UTC 2017


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

New commits:
commit b86722d7470d00290ec4b3d5e0e8c65861570268
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Oct 6 09:36:48 2017 +0100

    coverity#1418965 Uninitialized scalar field
    
    and
    
    coverity#1418963 Uninitialized scalar field
    
    Change-Id: I16bd91d2dfe2a1ae3f4697b5ff67acf6b6a5ba1c
    Reviewed-on: https://gerrit.libreoffice.org/43189
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index d6160853b2c1..e8f11d4b0c9b 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2343,6 +2343,10 @@ public:
     BoundsProvider(ScDocument* pD, SCTAB nT)
         : pDoc(pD)
         , nTab(nT)
+        , nFirstIndex(-1)
+        , nSecondIndex(-1)
+        , nFirstPositionPx(-1)
+        , nSecondPositionPx(-1)
     {}
 
     void GetStartIndexAndPosition(index_type& nIndex, long& nPosition) const


More information about the Libreoffice-commits mailing list