diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2016-05-30 17:20:50 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-05 09:35:40 +0000 |
commit | b6b34d538398f8214daa5b160f764dc8b82ff9c5 (patch) | |
tree | 9ffb350c9cbd293618fab09efcff6c8ad06151b3 /bridges | |
parent | 4ed2a7305f80192bdbe2eace48c4ee65e9938f7d (diff) |
Clarify calculation precedence tdf#39440
Use parentheses to clarify the code.
Change-Id: I864dc6dacadb5b9ba9dca8e0abd9fa4e6db1eddc
Reviewed-on: https://gerrit.libreoffice.org/25677
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx index 949912276d39..5d534051dbe7 100644 --- a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx @@ -373,7 +373,7 @@ static void cpp_vtable_call() // fprintf(stderr,"cpp_mediate nFunctionIndex=%x\n",nFunctionIndex); // fflush(stderr); - sal_Bool bComplex = nFunctionIndex & 0x80000000 ? sal_True : sal_False; + sal_Bool bComplex = (nFunctionIndex & 0x80000000) ? sal_True : sal_False; typelib_TypeClass aType = cpp_mediate( nFunctionIndex, vTableOffset, pCallStack+17, (sal_Int64*)&nRegReturn ); |