diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 21:24:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 21:30:39 +0200 |
commit | 4ffb0830ad0a3ee2b596f771423b4a8438e74357 (patch) | |
tree | e93d079218ac0250b4e2301e0fc35586a9bbfee0 /connectivity | |
parent | 6a3b0b7cc45b7aab2611331476decfd06211a73d (diff) |
loplugin:literaltoboolconversion
Change-Id: I90f590a64f6004aecf7da5253db158e382a5b801
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/macab/MacabColumns.cxx | 10 | ||||
-rw-r--r-- | connectivity/source/drivers/macab/MacabTable.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/macab/MacabTables.hxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/drivers/macab/MacabColumns.cxx b/connectivity/source/drivers/macab/MacabColumns.cxx index 713ff04396e3..2556e2164438 100644 --- a/connectivity/source/drivers/macab/MacabColumns.cxx +++ b/connectivity/source/drivers/macab/MacabColumns.cxx @@ -62,10 +62,10 @@ sdbcx::ObjectType MacabColumns::createObject(const OUString& _rName) xRow->getInt(7), xRow->getInt(9), xRow->getInt(5), - sal_False, - sal_False, - sal_False, - sal_True, + false, + false, + false, + true, sCatalogName, sSchemaName, sTableName); @@ -86,7 +86,7 @@ void MacabColumns::impl_refresh() throw(RuntimeException) MacabColumns::MacabColumns( MacabTable* _pTable, ::osl::Mutex& _rMutex, const TStringVector &_rVector) - : sdbcx::OCollection(*_pTable, sal_True, _rMutex, _rVector), + : sdbcx::OCollection(*_pTable, true, _rMutex, _rVector), m_pTable(_pTable) { } diff --git a/connectivity/source/drivers/macab/MacabTable.cxx b/connectivity/source/drivers/macab/MacabTable.cxx index 26c83eb2b4d3..f0f42917a15f 100644 --- a/connectivity/source/drivers/macab/MacabTable.cxx +++ b/connectivity/source/drivers/macab/MacabTable.cxx @@ -35,7 +35,7 @@ using namespace ::com::sun::star::lang; MacabTable::MacabTable( sdbcx::OCollection* _pTables, MacabConnection* _pConnection) - : MacabTable_TYPEDEF(_pTables, sal_True), + : MacabTable_TYPEDEF(_pTables, true), m_pConnection(_pConnection) { construct(); @@ -48,7 +48,7 @@ MacabTable::MacabTable( sdbcx::OCollection* _pTables, const OUString& _Description , const OUString& _SchemaName, const OUString& _CatalogName - ) : MacabTable_TYPEDEF(_pTables,sal_True, + ) : MacabTable_TYPEDEF(_pTables,true, _Name, _Type, _Description, diff --git a/connectivity/source/drivers/macab/MacabTables.hxx b/connectivity/source/drivers/macab/MacabTables.hxx index 160312ec9287..e177b308869e 100644 --- a/connectivity/source/drivers/macab/MacabTables.hxx +++ b/connectivity/source/drivers/macab/MacabTables.hxx @@ -41,7 +41,7 @@ namespace connectivity ::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex, const TStringVector &_rVector) - : sdbcx::OCollection(_rParent,sal_True,_rMutex,_rVector), + : sdbcx::OCollection(_rParent,true,_rMutex,_rVector), m_xMetaData(_rMetaData) { } |