[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Mon Mar 31 23:40:41 PDT 2014
connectivity/source/drivers/evoab2/NColumns.cxx | 8 ++++----
connectivity/source/drivers/evoab2/NColumns.hxx | 2 +-
connectivity/source/drivers/evoab2/NTable.cxx | 2 +-
connectivity/source/drivers/evoab2/NTables.hxx | 2 +-
connectivity/source/drivers/kab/KColumns.cxx | 10 +++++-----
connectivity/source/drivers/kab/KTable.cxx | 2 +-
connectivity/source/drivers/kab/KTables.hxx | 2 +-
7 files changed, 14 insertions(+), 14 deletions(-)
New commits:
commit 1ea5e5c4a98fc7512de0fa6db60f24d50116ecb5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Apr 1 08:40:10 2014 +0200
loplugin:literaltoboolconversion
Change-Id: I9f0e84b63ee6e338fc273c137eb1d1470b8185dc
diff --git a/connectivity/source/drivers/evoab2/NColumns.cxx b/connectivity/source/drivers/evoab2/NColumns.cxx
index bb9a23c..89cec83 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 c565bdf..5a3c3f7 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 15510ac..a4ef0117 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 2763f0e..98a066c 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 d3c0c8a..77c18ae 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 ca31e54..0c4a5af 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 2efe02e..ed94659 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)
{ }
More information about the Libreoffice-commits
mailing list