extensions/source/ole/oleobjw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b278193deb75d5487d9fb4e936a1a26926acb4af Author: Stephan Bergmann <[email protected]> AuthorDate: Tue Aug 4 14:44:06 2020 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Tue Aug 4 17:56:25 2020 +0200 loplugin:simplifybool (clang-cl) Change-Id: Ib53c1d0d11962067d3a18dab453a6530398bc5a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100093 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index c0a830eece91..bde55278c174 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -1281,7 +1281,7 @@ uno::Any SAL_CALL IUnknownWrapper::directInvoke( const OUString& aName, const un // fill the named arguments if ( dispparams.cNamedArgs > 0 - && !( dispparams.cNamedArgs == 1 && pInvkinds[nStep] == INVOKE_PROPERTYPUT ) ) + && ( dispparams.cNamedArgs != 1 || pInvkinds[nStep] != INVOKE_PROPERTYPUT ) ) { int nSizeAr = dispparams.cNamedArgs + 1; if ( pInvkinds[nStep] == INVOKE_PROPERTYPUT ) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
