summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-10-06 09:36:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-10-06 12:39:39 +0200
commitb86722d7470d00290ec4b3d5e0e8c65861570268 (patch)
treef0a28a594d82c40f8aa425c5d2e12706164a7a35 /sc/source/ui/view
parent01e14d9d0bfabad8a75217712b430cf678de01a9 (diff)
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@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/tabview.cxx4
1 files changed, 4 insertions, 0 deletions
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