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) ...@@ -570,10 +570,10 @@ static sal_Bool writeBackOutParameter2( VARIANTARG* pDest, VARIANT* pSource)
if (spValueDest) if (spValueDest)
{ {
VARIANT_BOOL varBool= VARIANT_FALSE; VARIANT_BOOL varBool= VARIANT_FALSE;
if( SUCCEEDED( hr= spValueDest->IsOutParam( &varBool) ) if ((SUCCEEDED(hr = spValueDest->IsOutParam(&varBool))
&& varBool == VARIANT_TRUE || && varBool == VARIANT_TRUE)
SUCCEEDED(hr= spValueDest->IsInOutParam( &varBool) ) || (SUCCEEDED(hr = spValueDest->IsInOutParam(&varBool))
&& varBool == VARIANT_TRUE ) && varBool == VARIANT_TRUE))
{ {
if( SUCCEEDED( spValueDest->Set( CComVariant(), *pSource))) if( SUCCEEDED( spValueDest->Set( CComVariant(), *pSource)))
ret= sal_True; 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