diff options
author | Kai Ahrens <ka@openoffice.org> | 2002-07-04 14:22:46 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2002-07-04 14:22:46 +0000 |
commit | 28c2d52e0b9d65bc9aeca4252b00ccd0ca96c022 (patch) | |
tree | f604671ad022620b5d7b0dbdca2951268e2955f1 /extensions/source/scanner | |
parent | 872f940551a061b04807a0e31d812c4264627121 (diff) |
#100786#: return false in case of cancel
Diffstat (limited to 'extensions/source/scanner')
-rw-r--r-- | extensions/source/scanner/scanwin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/scanner/scanwin.cxx b/extensions/source/scanner/scanwin.cxx index aee9d6db52a3..0aa40305976e 100644 --- a/extensions/source/scanner/scanwin.cxx +++ b/extensions/source/scanner/scanwin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: scanwin.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: ka $ $Date: 2000-12-07 08:44:51 $ + * last change: $Author: ka $ $Date: 2002-07-04 15:20:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -253,7 +253,7 @@ BOOL ImpTwain::SelectSource() ImplFallback( TWAIN_EVENT_QUIT ); - return( nRet == TWRC_SUCCESS || nRet == TWRC_CANCEL ); + return( TWRC_SUCCESS == nRet ); } // ----------------------------------------------------------------------------- |