Author: hdu Date: Thu Feb 28 10:58:19 2013 New Revision: 1451172 URL: http://svn.apache.org/r1451172 Log: fix WaE-worthy if-condition with assignment
Modified: openoffice/trunk/main/automation/source/communi/communi.cxx Modified: openoffice/trunk/main/automation/source/communi/communi.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/automation/source/communi/communi.cxx?rev=1451172&r1=1451171&r2=1451172&view=diff ============================================================================== --- openoffice/trunk/main/automation/source/communi/communi.cxx (original) +++ openoffice/trunk/main/automation/source/communi/communi.cxx Thu Feb 28 10:58:19 2013 @@ -196,7 +196,8 @@ void CommunicationLinkViaSocket::run() sal_Bool bWasError = sal_False; while ( schedule() && !bWasError && GetStreamSocket() ) { - if ( bWasError |= !DoReceiveDataStream() ) + bWasError |= !DoReceiveDataStream(); + if( bWasError) continue; TimeValue sNochEins = {0, 1000000};