diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-20 23:31:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-24 08:47:02 +0100 |
commit | 330a67586c66c772e6f2f187ea118d4c05abb11e (patch) | |
tree | 2c7c49e8ef8da69a400da9cb3fe5c4d7be9e8213 /extensions/source/ole/unoobjw.cxx | |
parent | -Werror,-Wwritable-strings (diff) | |
download | core-330a67586c66c772e6f2f187ea118d4c05abb11e.tar.gz core-330a67586c66c772e6f2f187ea118d4c05abb11e.zip |
-Werror,-Wlogical-op-parentheses
Change-Id: Ifbac95117d58d0fd9f40ef373e14544a37c0cce6
Diffstat (limited to 'extensions/source/ole/unoobjw.cxx')
-rw-r--r-- | extensions/source/ole/unoobjw.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx index 49fcf0f79a55..0f897bafdacd 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -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; |