diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-20 22:21:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-24 08:46:59 +0100 |
commit | a5ad198816518a277745698580ed0df47cb50094 (patch) | |
tree | e337b9341bc3ee6959ff0c62697580d1d25fbd17 /extensions | |
parent | 8b5182155b6d35a1be64d37136584e30ea6a6ef8 (diff) |
-Werror,-Wlogical-op-parentheses
Change-Id: I48bcb6e35ffc3ce73a2142e52f453b1c839e4831
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/oleobjw.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index 430d02f72ff3..fc7c2d787a4b 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -302,8 +302,8 @@ void SAL_CALL IUnknownWrapper_Impl::setValue( const OUString& aPropertyName, throw UnknownPropertyException(msg); } - if ( (! aDescPut && aDescGet) || aVarDesc - && aVarDesc->wVarFlags == VARFLAG_FREADONLY ) + if ( (! aDescPut && aDescGet) + || (aVarDesc && aVarDesc->wVarFlags == VARFLAG_FREADONLY) ) { //read-only OUString msg("[automation bridge] Property " + aPropertyName + @@ -614,8 +614,8 @@ sal_Bool SAL_CALL IUnknownWrapper_Impl::hasMethod( const OUString& aName ) FuncDesc aDescPut(pInfo); VarDesc aVarDesc(pInfo); getPropDesc( aName, & aDescGet, & aDescPut, & aVarDesc); - if (aDescGet && aDescGet->cParams > 0 - || aDescPut && aDescPut->cParams > 0) + if ((aDescGet && aDescGet->cParams > 0) + || (aDescPut && aDescPut->cParams > 0)) ret = sal_True; } else |