summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-01 08:40:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-01 08:40:10 +0200
commit1ea5e5c4a98fc7512de0fa6db60f24d50116ecb5 (patch)
treead5298b2a16f810e1c0814ab49643335fcc4ef64
parent89147da58913a10157632a56a3c156911b86e1df (diff)
loplugin:literaltoboolconversion
Change-Id: I9f0e84b63ee6e338fc273c137eb1d1470b8185dc
-rw-r--r--connectivity/source/drivers/evoab2/NColumns.cxx8
-rw-r--r--connectivity/source/drivers/evoab2/NColumns.hxx2
-rw-r--r--connectivity/source/drivers/evoab2/NTable.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NTables.hxx2
-rw-r--r--connectivity/source/drivers/kab/KColumns.cxx10
-rw-r--r--connectivity/source/drivers/kab/KTable.cxx2
-rw-r--r--connectivity/source/drivers/kab/KTables.hxx2
7 files changed, 14 insertions, 14 deletions
diff --git a/connectivity/source/drivers/evoab2/NColumns.cxx b/connectivity/source/drivers/evoab2/NColumns.cxx
index bb9a23c08e07..89cec832487b 100644
--- a/connectivity/source/drivers/evoab2/NColumns.cxx
+++ b/connectivity/source/drivers/evoab2/NColumns.cxx
@@ -65,10 +65,10 @@ sdbcx::ObjectType OEvoabColumns::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);
diff --git a/connectivity/source/drivers/evoab2/NColumns.hxx b/connectivity/source/drivers/evoab2/NColumns.hxx
index c565bdf5279b..5a3c3f72634e 100644
--- a/connectivity/source/drivers/evoab2/NColumns.hxx
+++ b/connectivity/source/drivers/evoab2/NColumns.hxx
@@ -39,7 +39,7 @@ namespace connectivity
OEvoabColumns( OEvoabTable* _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/evoab2/NTable.cxx b/connectivity/source/drivers/evoab2/NTable.cxx
index 15510ac8c366..a4ef011779a5 100644
--- a/connectivity/source/drivers/evoab2/NTable.cxx
+++ b/connectivity/source/drivers/evoab2/NTable.cxx
@@ -40,7 +40,7 @@ OEvoabTable::OEvoabTable( sdbcx::OCollection* _pTables,
const OUString& _Description ,
const OUString& _SchemaName,
const OUString& _CatalogName
- ) : OEvoabTable_TYPEDEF(_pTables,sal_True,
+ ) : OEvoabTable_TYPEDEF(_pTables,true,
_Name,
_Type,
_Description,
diff --git a/connectivity/source/drivers/evoab2/NTables.hxx b/connectivity/source/drivers/evoab2/NTables.hxx
index 2763f0e455cf..98a066c63473 100644
--- a/connectivity/source/drivers/evoab2/NTables.hxx
+++ b/connectivity/source/drivers/evoab2/NTables.hxx
@@ -35,7 +35,7 @@ namespace connectivity
OEvoabTables(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _rMetaData,
::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)
{}
virtual void SAL_CALL disposing(void) SAL_OVERRIDE;
diff --git a/connectivity/source/drivers/kab/KColumns.cxx b/connectivity/source/drivers/kab/KColumns.cxx
index d3c0c8a891eb..77c18ae9257b 100644
--- a/connectivity/source/drivers/kab/KColumns.cxx
+++ b/connectivity/source/drivers/kab/KColumns.cxx
@@ -62,10 +62,10 @@ sdbcx::ObjectType KabColumns::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 KabColumns::impl_refresh() throw(RuntimeException)
KabColumns::KabColumns( KabTable* _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/kab/KTable.cxx b/connectivity/source/drivers/kab/KTable.cxx
index ca31e546f6d4..0c4a5af72e8c 100644
--- a/connectivity/source/drivers/kab/KTable.cxx
+++ b/connectivity/source/drivers/kab/KTable.cxx
@@ -41,7 +41,7 @@ KabTable::KabTable( sdbcx::OCollection* _pTables,
const OUString& _Description ,
const OUString& _SchemaName,
const OUString& _CatalogName
- ) : KabTable_TYPEDEF(_pTables,sal_True,
+ ) : KabTable_TYPEDEF(_pTables,true,
_Name,
_Type,
_Description,
diff --git a/connectivity/source/drivers/kab/KTables.hxx b/connectivity/source/drivers/kab/KTables.hxx
index 2efe02ec36d2..ed9465971844 100644
--- a/connectivity/source/drivers/kab/KTables.hxx
+++ b/connectivity/source/drivers/kab/KTables.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)
{ }