From b86722d7470d00290ec4b3d5e0e8c65861570268 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 6 Oct 2017 09:36:48 +0100 Subject: coverity#1418965 Uninitialized scalar field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and coverity#1418963 Uninitialized scalar field Change-Id: I16bd91d2dfe2a1ae3f4697b5ff67acf6b6a5ba1c Reviewed-on: https://gerrit.libreoffice.org/43189 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/ui/view/tabview.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sc') 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 -- cgit