diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 14:05:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 14:05:44 +0200 |
commit | c44021f754148dda502c700716c54efd1c6e7cf9 (patch) | |
tree | 09807e929b72cda5b523c8781c27ca60164e20e9 /pyuno | |
parent | e29a7ff18771eea77b385efc517baa6204df37f9 (diff) |
loplugin:salbool
Change-Id: I4875b12807aed36f758d81c731e2ac52a3a606e4
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index ce9983eb42f8..c4f82d35e658 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -1346,8 +1346,8 @@ int PyUNO_contains( PyObject *self, PyObject *pKey ) xNameAccess.set( me->members->wrappedObject, UNO_QUERY ); if ( xNameAccess.is() ) { - sal_Bool hasKey = xNameAccess->hasByName( sKey ); - return hasKey == sal_True ? 1 : 0; + bool hasKey = xNameAccess->hasByName( sKey ); + return hasKey ? 1 : 0; } } } |