diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/scanner/sanedlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index f13f652a26dd..885f07f0f1d2 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -231,11 +231,10 @@ void SaneDlg::InitFields() } maReslBox.InsertValue( (long)pDouble[1] ); } - if( pDouble ) - delete [] pDouble; } else maReslBox.Enable( sal_False ); + delete [] pDouble; } } else |