diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 13:59:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 14:00:24 +0200 |
commit | ec7e3c6dfe6262f2d09629d5c1152cfdf2a4b19b (patch) | |
tree | b0955ca9f07842e1ba2d5b260ee9be587aaaa1c3 | |
parent | 89e33144731aacdb03fb8a82b6283c0effca8a3b (diff) |
loplugin:simplifybool
Change-Id: I2a112a1e0b1761e1d05f789c6defb9d2bb6aa8de
-rw-r--r-- | bridges/source/jni_uno/jni_java2uno.cxx | 2 | ||||
-rw-r--r-- | bridges/source/jni_uno/jni_uno2java.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bridges/source/jni_uno/jni_java2uno.cxx b/bridges/source/jni_uno/jni_java2uno.cxx index 47064670c376..1b6e52c96e40 100644 --- a/bridges/source/jni_uno/jni_java2uno.cxx +++ b/bridges/source/jni_uno/jni_java2uno.cxx @@ -222,7 +222,7 @@ jobject Bridge::call_uno( java_arg.l = jo_arg.get(); map_to_uno( jni, uno_args[ nPos ], java_arg, type, 0, - false /* no assign */, sal_False != param.bOut, + false /* no assign */, param.bOut, true /* special wrapped integral types */ ); } catch (...) diff --git a/bridges/source/jni_uno/jni_uno2java.cxx b/bridges/source/jni_uno/jni_uno2java.cxx index 749db52ad2d0..b461ead27ed2 100644 --- a/bridges/source/jni_uno/jni_uno2java.cxx +++ b/bridges/source/jni_uno/jni_uno2java.cxx @@ -167,8 +167,8 @@ void Bridge::call_java( jni, &java_args[ nPos ], uno_args[ nPos ], param.pTypeRef, 0, - sal_False != param.bIn /* convert uno value */, - sal_False != param.bOut /* build up array[ 1 ] */ ); + param.bIn /* convert uno value */, + param.bOut /* build up array[ 1 ] */ ); } catch (...) { @@ -318,7 +318,7 @@ void Bridge::call_java( map_to_uno( jni, uno_args[ nPos ], java_args[ nPos ], param.pTypeRef, 0, - sal_False != param.bIn /* assign if inout */, + param.bIn /* assign if inout */, true /* out param */ ); } catch (...) |