diff options
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; } } } |