diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-16 09:14:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-16 11:51:51 +0200 |
commit | 199d333f131474729a105afa5a3da61205f61df2 (patch) | |
tree | 01c0270df697b8857af0ad52fd8bd4502ccf86a0 /connectivity/source/drivers/jdbc/Object.cxx | |
parent | 2f316b07a502b527876462d524061dbf6c9a04d5 (diff) |
connectivity: sal_Bool->bool
Change-Id: I96371121ce6697f153f4e973e65831ea2265eb56
Diffstat (limited to 'connectivity/source/drivers/jdbc/Object.cxx')
-rw-r--r-- | connectivity/source/drivers/jdbc/Object.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/drivers/jdbc/Object.cxx b/connectivity/source/drivers/jdbc/Object.cxx index ef437409ba00..5b7fb4f040e1 100644 --- a/connectivity/source/drivers/jdbc/Object.cxx +++ b/connectivity/source/drivers/jdbc/Object.cxx @@ -42,7 +42,7 @@ using namespace ::com::sun::star::lang; ::rtl::Reference< jvmaccess::VirtualMachine > getJavaVM2(const ::rtl::Reference< jvmaccess::VirtualMachine >& _rVM = ::rtl::Reference< jvmaccess::VirtualMachine >(), - sal_Bool _bSet = sal_False) + bool _bSet = false) { static ::rtl::Reference< jvmaccess::VirtualMachine > s_VM; if ( _rVM.is() || _bSet ) @@ -87,7 +87,7 @@ void SDBThreadAttach::releaseRef() osl_atomic_decrement(&getJavaVMRefCount()); if ( getJavaVMRefCount() == 0 ) { - getJavaVM2(::rtl::Reference< jvmaccess::VirtualMachine >(),sal_True); + getJavaVM2(::rtl::Reference< jvmaccess::VirtualMachine >(),true); } } @@ -228,7 +228,7 @@ void java_lang_Object::obtainMethodId(JNIEnv* _pEnv,const char* _pMethodName, co } // if ( !_inout_MethodID ) } -sal_Bool java_lang_Object::callBooleanMethod( const char* _pMethodName, jmethodID& _inout_MethodID ) const +bool java_lang_Object::callBooleanMethod( const char* _pMethodName, jmethodID& _inout_MethodID ) const { jboolean out( sal_False ); @@ -242,7 +242,7 @@ sal_Bool java_lang_Object::callBooleanMethod( const char* _pMethodName, jmethodI return out; } -sal_Bool java_lang_Object::callBooleanMethodWithIntArg( const char* _pMethodName, jmethodID& _inout_MethodID, sal_Int32 _nArgument ) const +bool java_lang_Object::callBooleanMethodWithIntArg( const char* _pMethodName, jmethodID& _inout_MethodID, sal_Int32 _nArgument ) const { jboolean out( sal_False ); SDBThreadAttach t; @@ -271,7 +271,7 @@ sal_Int32 java_lang_Object::callIntMethod( const char* _pMethodName, jmethodID& // call method jint out( t.pEnv->CallIntMethod( object, _inout_MethodID ) ); if ( _bIgnoreException ) - isExceptionOccurred(t.pEnv,sal_True); + isExceptionOccurred(t.pEnv,true); else ThrowSQLException( t.pEnv, NULL ); @@ -310,7 +310,7 @@ void java_lang_Object::callVoidMethodWithIntArg( const char* _pMethodName, jmeth // call method t.pEnv->CallVoidMethod( object, _inout_MethodID,_nArgument ); if ( _bIgnoreException ) - isExceptionOccurred(t.pEnv,sal_True); + isExceptionOccurred(t.pEnv,true); else ThrowSQLException( t.pEnv, NULL ); } @@ -323,7 +323,7 @@ void java_lang_Object::callVoidMethodWithBoolArg( const char* _pMethodName, jmet // call method t.pEnv->CallVoidMethod( object, _inout_MethodID,int(_nArgument) ); if ( _bIgnoreException ) - isExceptionOccurred(t.pEnv,sal_True); + isExceptionOccurred(t.pEnv,true); else ThrowSQLException( t.pEnv, NULL ); } |