diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-23 09:11:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-23 09:40:04 +0100 |
commit | a86b6727d302c9b3336f09674cec9dbdb7e93183 (patch) | |
tree | 21c0f9a300f0a37c4e34774a4ebf60f2df97096b /extensions | |
parent | 942f6a65e1151612973c367c203d44066c8ed287 (diff) |
coverity#738627 Uninitialized scalar field
Change-Id: Id52cf54dea1b51ab3884618f90a01324b7451f76
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/scanner/sanedlg.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
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() ) { |