summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/scanner/sanedlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx
index 951b0d2dbb09..50033df310a9 100644
--- a/extensions/source/scanner/sanedlg.cxx
+++ b/extensions/source/scanner/sanedlg.cxx
@@ -396,6 +396,7 @@ void SaneDlg::InitFields()
nValue = mrSane.GetRange( nOption, pDouble );
if( nValue > -1 )
{
+ assert(pDouble);
if( nValue )
{
mpReslBox->SetMin( (long)pDouble[0] );