From c44021f754148dda502c700716c54efd1c6e7cf9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 26 Jun 2015 14:05:44 +0200 Subject: loplugin:salbool Change-Id: I4875b12807aed36f758d81c731e2ac52a3a606e4 --- pyuno/source/module/pyuno.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyuno') 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; } } } -- cgit