diff options
Diffstat (limited to 'extensions/source/scanner/sane.cxx')
-rw-r--r-- | extensions/source/scanner/sane.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx index 006b4c6c59a7..976d76aefbe3 100644 --- a/extensions/source/scanner/sane.cxx +++ b/extensions/source/scanner/sane.cxx @@ -666,9 +666,12 @@ bool Sane::Start( BitmapTransporter& rBitmap ) if( nStatus != SANE_STATUS_GOOD ) { bSynchronousRead = false; - nStatus = p_set_io_mode(maHandle, SANE_TRUE); (void)nStatus; + nStatus = p_set_io_mode(maHandle, SANE_TRUE); CheckConsistency( "sane_set_io_mode" ); - SAL_WARN_IF(nStatus != SANE_STATUS_GOOD, "extensions.scanner", "driver is confused" ); + if (nStatus != SANE_STATUS_GOOD) + { + SAL_WARN("extensions.scanner", "SANE driver status is: " << nStatus); + } } SANE_Int nLen=0; |