diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-07-02 08:42:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-07-02 08:42:58 +0200 |
commit | dbf99dfb980f772250e8ec4792c1bf5a1458629b (patch) | |
tree | 84dfe95482e1173b6e9bfb8edaf47639d05c247c /mysqlc/source/mysqlc_databasemetadata.cxx | |
parent | 4776da791f69fa14104f054923be25618c297398 (diff) |
mysqlc: sal_Bool -> bool
Change-Id: Ie479e1671b03fbb958886d4c01ecff41b2ad1d23
Diffstat (limited to 'mysqlc/source/mysqlc_databasemetadata.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_databasemetadata.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mysqlc/source/mysqlc_databasemetadata.cxx b/mysqlc/source/mysqlc_databasemetadata.cxx index 01cda36a9ec8..46a4d8780ca0 100644 --- a/mysqlc/source/mysqlc_databasemetadata.cxx +++ b/mysqlc/source/mysqlc_databasemetadata.cxx @@ -81,7 +81,7 @@ void lcl_setRows_throw(const Reference< XResultSet >& _xResultSet,sal_Int32 _nTy /* {{{ ODatabaseMetaData::ODatabaseMetaData() -I- */ ODatabaseMetaData::ODatabaseMetaData(OConnection& _rCon) :m_rConnection(_rCon) - ,m_bUseCatalog(sal_True) + ,m_bUseCatalog(true) ,meta(_rCon.getConnectionSettings().cppConnection->getMetaData()) ,identifier_quote_string_set(false) { @@ -200,10 +200,10 @@ sal_Int32 ODatabaseMetaData::impl_getInt32MetaData(const sal_Char* _methodName, /* {{{ ODatabaseMetaData::impl_getBoolMetaData() -I- */ -sal_Bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() ) +bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() ) { OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName); - sal_Bool boolMetaData(0); + bool boolMetaData(false); try { boolMetaData = (meta->*_Method)() ? sal_True : sal_False; } catch (const sql::MethodNotImplementedException &) { @@ -219,10 +219,10 @@ sal_Bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bo /* {{{ ODatabaseMetaData::impl_getBoolMetaData() -I- */ -sal_Bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg ) +bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg ) { OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName); - sal_Bool boolMetaData(0); + bool boolMetaData(false); try { boolMetaData = (meta->*_Method)( _arg ) ? sal_True : sal_False; } catch (const sql::MethodNotImplementedException &) { @@ -238,7 +238,7 @@ sal_Bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bo /* {{{ ODatabaseMetaData::impl_getRSTypeMetaData() -I- */ -sal_Bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType ) +bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType ) { int resultSetType(sql::ResultSet::TYPE_FORWARD_ONLY); switch ( _resultSetType ) { |