diff options
Diffstat (limited to 'pyuno/source/module/pyuno_except.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_except.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyuno/source/module/pyuno_except.cxx b/pyuno/source/module/pyuno_except.cxx index cf02bd007534..63b1e68e9b54 100644 --- a/pyuno/source/module/pyuno_except.cxx +++ b/pyuno/source/module/pyuno_except.cxx @@ -92,9 +92,9 @@ static PyRef createClass( const OUString & name, const Runtime &runtime ) throw RuntimeException( buf.makeStringAndClear(), Reference< XInterface > () ); } - sal_Bool isStruct = desc.get()->eTypeClass == typelib_TypeClass_STRUCT; - sal_Bool isExc = desc.get()->eTypeClass == typelib_TypeClass_EXCEPTION; - sal_Bool isInterface = desc.get()->eTypeClass == typelib_TypeClass_INTERFACE; + bool isStruct = desc.get()->eTypeClass == typelib_TypeClass_STRUCT; + bool isExc = desc.get()->eTypeClass == typelib_TypeClass_EXCEPTION; + bool isInterface = desc.get()->eTypeClass == typelib_TypeClass_INTERFACE; if( !isStruct && !isExc && ! isInterface ) { OUStringBuffer buf; @@ -206,7 +206,7 @@ bool isInstanceOfStructOrException( PyObject *obj) return false; } -sal_Bool isInterfaceClass( const Runtime &runtime, PyObject * obj ) +bool isInterfaceClass( const Runtime &runtime, PyObject * obj ) { const ClassSet & set = runtime.getImpl()->cargo->interfaceSet; return set.find( obj ) != set.end(); |