diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-08 11:43:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-08 11:48:14 +0200 |
commit | e5d0a9ad78ceb531018cb49c1d78b0f63ba92995 (patch) | |
tree | 97529bae61d2eecebd87158f20344a7243d520c5 /pyuno/source/module/pyuno_except.cxx | |
parent | 798531135855ad17d4939bee1c920d26032758c6 (diff) |
pyuno: sal_Bool->bool
Change-Id: I071c8984cd86b523d8ebae04b5fb2bdc1ac1a5b1
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(); |