Kaydet (Commit) 330a6758 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wlogical-op-parentheses

Change-Id: Ifbac95117d58d0fd9f40ef373e14544a37c0cce6
üst 149469ca
......@@ -570,10 +570,10 @@ static sal_Bool writeBackOutParameter2( VARIANTARG* pDest, VARIANT* pSource)
if (spValueDest)
{
VARIANT_BOOL varBool= VARIANT_FALSE;
if( SUCCEEDED( hr= spValueDest->IsOutParam( &varBool) )
&& varBool == VARIANT_TRUE ||
SUCCEEDED(hr= spValueDest->IsInOutParam( &varBool) )
&& varBool == VARIANT_TRUE )
if ((SUCCEEDED(hr = spValueDest->IsOutParam(&varBool))
&& varBool == VARIANT_TRUE)
|| (SUCCEEDED(hr = spValueDest->IsInOutParam(&varBool))
&& varBool == VARIANT_TRUE))
{
if( SUCCEEDED( spValueDest->Set( CComVariant(), *pSource)))
ret= sal_True;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment