summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-29 23:29:34 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-29 23:36:54 -0600
commit4eb97e07ccfb740e0421e34c23703468d87d16fd (patch)
tree2fde6a85e81e300e179cf93727c8719f6f0d09a3
parent72edfcdc909528155f78530edb1c7a5bc1d24699 (diff)
coverity#989727 : Uninitialized scalar field
Change-Id: I84477ff97e726e15e1ff1a3241557483c43392c8
-rw-r--r--sc/source/ui/view/hdrcont.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx
index d5367801f0d4..aedfc2a4175b 100644
--- a/sc/source/ui/view/hdrcont.cxx
+++ b/sc/source/ui/view/hdrcont.cxx
@@ -44,7 +44,7 @@
#define SC_HDRPAINT_COUNT 7
ScHeaderControl::ScHeaderControl( Window* pParent, SelectionEngine* pSelectionEngine,
- SCCOLROW nNewSize, bool bNewVertical ) :
+ SCCOLROW nNewSize, bool bNewVertical ) :
Window ( pParent ),
pSelEngine ( pSelectionEngine ),
bVertical ( bNewVertical ),
@@ -53,6 +53,10 @@ ScHeaderControl::ScHeaderControl( Window* pParent, SelectionEngine* pSelectionEn
nMarkEnd ( 0 ),
bMarkRange ( false ),
bDragging ( false ),
+ nDragNo ( 0 ),
+ nDragStart ( 0 ),
+ nDragPos ( 0 ),
+ bDragMoved ( false ),
bIgnoreMove ( false )
{
// --- RTL --- no default mirroring for this window, the spreadsheet itself