basic/source/comp/scanner.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit df579b1f668cd9f9bd6a397d585a08f2d33c5063 Author: Julien Nabet <serval2...@yahoo.fr> Date: Mon Aug 6 16:44:44 2012 +0200 Fix "Boolean result is used in bitwise operation" Change-Id: Ifed0d87da3ac5bd19a0285f1074f2eeec5717f05 diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx index 8fb5485..eefa3ab 100644 --- a/basic/source/comp/scanner.cxx +++ b/basic/source/comp/scanner.cxx @@ -94,8 +94,7 @@ void SbiScanner::GenError( SbError code ) } bRes = pBasic->CError( code, aError, nLine, nc, nCol2 ); } - bAbort |= !bRes | - ( code == SbERR_NO_MEMORY || code == SbERR_PROG_TOO_LARGE ); + bAbort = bAbort || !bRes || ( code == SbERR_NO_MEMORY || code == SbERR_PROG_TOO_LARGE ); } if( bErrors ) nErrors++; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits