diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-12 13:11:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-12 13:11:59 +0200 |
commit | ed95e1c5619e2cb2a8f6d93a1b7c45f36f1524dd (patch) | |
tree | b4465c9dbcfdca9254d4bbdfa810fce8858343a5 /connectivity/source/drivers/kab/KDatabaseMetaData.cxx | |
parent | aa325833295e3983d93758b0e1194d7fb9365ee7 (diff) |
connectivity: sal_Bool -> bool
Change-Id: Id9458a3aa0928eedc87aec39f305b206e2638e67
Diffstat (limited to 'connectivity/source/drivers/kab/KDatabaseMetaData.cxx')
-rw-r--r-- | connectivity/source/drivers/kab/KDatabaseMetaData.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/kab/KDatabaseMetaData.cxx b/connectivity/source/drivers/kab/KDatabaseMetaData.cxx index 5e4b2fbaaf40..a50529ce700a 100644 --- a/connectivity/source/drivers/kab/KDatabaseMetaData.cxx +++ b/connectivity/source/drivers/kab/KDatabaseMetaData.cxx @@ -36,7 +36,7 @@ using namespace com::sun::star::sdbc; KabDatabaseMetaData::KabDatabaseMetaData(KabConnection* _pCon) : m_xConnection(_pCon), - m_bUseCatalog(sal_True) + m_bUseCatalog(true) { OSL_ENSURE(_pCon,"KabDatabaseMetaData::KabDatabaseMetaData: No connection set!"); @@ -226,7 +226,7 @@ sal_Bool SAL_CALL KabDatabaseMetaData::supportsDifferentTableCorrelationNames( sal_Bool SAL_CALL KabDatabaseMetaData::isCatalogAtStart( ) throw(SQLException, RuntimeException, std::exception) { - sal_Bool bValue = sal_False; + bool bValue = false; if (m_bUseCatalog) { } @@ -931,19 +931,19 @@ Reference< XResultSet > SAL_CALL KabDatabaseMetaData::getTables( // for the moment, we answer only the "TABLE" table type // when no types are given at all, we return all the tables static const OUString aTable("TABLE"); - sal_Bool bTableFound = sal_False; + bool bTableFound = false; const OUString* p = types.getConstArray(), * pEnd = p + types.getLength(); if (p == pEnd) { - bTableFound = sal_True; + bTableFound = true; } else while (p < pEnd) { if (match(*p, aTable, '\0')) { - bTableFound = sal_True; + bTableFound = true; break; } p++; |