From a86b6727d302c9b3336f09674cec9dbdb7e93183 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 23 Apr 2014 09:11:37 +0100 Subject: coverity#738627 Uninitialized scalar field Change-Id: Id52cf54dea1b51ab3884618f90a01324b7451f76 --- extensions/source/scanner/sanedlg.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'extensions') diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index 01f07fe00c56..49608c43af8a 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -42,6 +42,7 @@ SaneDlg::SaneDlg( Window* pParent, Sane& rSane, bool bScanEnabled ) : mbIsDragging( sal_False ), mbScanEnabled( bScanEnabled ), mbDragDrawn( sal_False ), + meDragDirection( TopLeft ), maMapMode( MAP_APPFONT ), maOKButton( this, SaneResId( RID_SCAN_OK ) ), maCancelButton( this, SaneResId( RID_SCAN_CANCEL ) ), @@ -76,8 +77,12 @@ SaneDlg::SaneDlg( Window* pParent, Sane& rSane, bool bScanEnabled ) : maStringEdit( this, SaneResId( RID_SCAN_STRING_OPTION_EDT ) ), maNumericEdit( this, SaneResId( RID_SCAN_NUMERIC_OPTION_EDT ) ), maOptionBox( this, SaneResId( RID_SCAN_OPTION_BOX ) ), - mpRange( 0 ), - doScan( false ) + mnCurrentOption(0), + mnCurrentElement(0), + mpRange(0), + mfMin(0.0), + mfMax(0.0), + doScan(false) { if( Sane::IsSane() ) { -- cgit