summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-31 17:30:06 +0200
committerNoel Grandin <noel@peralex.com>2014-04-01 07:38:09 +0200
commit8728c3466211f71cea119a9895a0f4619fd47d96 (patch)
tree35bbe3172566195c6334b145bdf3d3a92012eaca /connectivity
parent73c1ac010c544e836cfff4c53542a2bb37630c9f (diff)
connectivity: sal_Bool->bool
Change-Id: Iafa52d3643b9313c20c75cf98f6b1ec231bf9d6d
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/TColumnsHelper.cxx6
-rw-r--r--connectivity/source/commontools/TIndex.cxx4
-rw-r--r--connectivity/source/commontools/TIndexColumns.cxx6
-rw-r--r--connectivity/source/commontools/TIndexes.cxx2
-rw-r--r--connectivity/source/commontools/TKey.cxx4
-rw-r--r--connectivity/source/commontools/TKeyColumns.cxx8
-rw-r--r--connectivity/source/commontools/TKeys.cxx2
-rw-r--r--connectivity/source/commontools/dbtools2.cxx4
-rw-r--r--connectivity/source/drivers/calc/CTable.cxx2
-rw-r--r--connectivity/source/drivers/dbase/DIndex.cxx4
-rw-r--r--connectivity/source/drivers/dbase/DIndexColumns.cxx8
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx2
-rw-r--r--connectivity/source/drivers/file/FColumns.cxx6
-rw-r--r--connectivity/source/drivers/firebird/Tables.cxx2
-rw-r--r--connectivity/source/drivers/firebird/User.cxx6
-rw-r--r--connectivity/source/drivers/firebird/Users.cxx2
-rw-r--r--connectivity/source/drivers/flat/ETable.cxx6
-rw-r--r--connectivity/source/drivers/hsqldb/HUser.cxx4
-rw-r--r--connectivity/source/drivers/hsqldb/HUsers.cxx2
-rw-r--r--connectivity/source/drivers/hsqldb/HViews.cxx4
-rw-r--r--connectivity/source/drivers/mork/MColumns.cxx2
-rw-r--r--connectivity/source/drivers/mork/MColumns.hxx2
-rw-r--r--connectivity/source/drivers/mork/MPreparedStatement.cxx6
-rw-r--r--connectivity/source/drivers/mork/MTables.hxx2
-rw-r--r--connectivity/source/drivers/mysql/YTable.cxx2
-rw-r--r--connectivity/source/drivers/mysql/YUser.cxx4
-rw-r--r--connectivity/source/drivers/mysql/YUsers.cxx2
-rw-r--r--connectivity/source/drivers/mysql/YViews.cxx2
-rw-r--r--connectivity/source/inc/hsqldb/HTables.hxx2
-rw-r--r--connectivity/source/inc/mysql/YTables.hxx2
-rw-r--r--connectivity/source/inc/mysql/YViews.hxx2
-rw-r--r--connectivity/source/parse/PColumn.cxx8
-rw-r--r--connectivity/source/parse/sqliterator.cxx2
-rw-r--r--connectivity/source/sdbcx/VCollection.cxx18
-rw-r--r--connectivity/source/sdbcx/VColumn.cxx20
-rw-r--r--connectivity/source/sdbcx/VDescriptor.cxx8
-rw-r--r--connectivity/source/sdbcx/VGroup.cxx4
-rw-r--r--connectivity/source/sdbcx/VIndex.cxx18
-rw-r--r--connectivity/source/sdbcx/VIndexColumn.cxx26
-rw-r--r--connectivity/source/sdbcx/VKey.cxx6
-rw-r--r--connectivity/source/sdbcx/VKeyColumn.cxx24
-rw-r--r--connectivity/source/sdbcx/VTable.cxx8
-rw-r--r--connectivity/source/sdbcx/VUser.cxx6
-rw-r--r--connectivity/source/sdbcx/VView.cxx6
44 files changed, 133 insertions, 133 deletions
diff --git a/connectivity/source/commontools/TColumnsHelper.cxx b/connectivity/source/commontools/TColumnsHelper.cxx
index 6802d161e50f..05ac27588d0a 100644
--- a/connectivity/source/commontools/TColumnsHelper.cxx
+++ b/connectivity/source/commontools/TColumnsHelper.cxx
@@ -63,7 +63,7 @@ OColumnsHelper::OColumnsHelper( ::cppu::OWeakObject& _rParent
,::osl::Mutex& _rMutex
,const TStringVector &_rVector
,bool _bUseHardRef
- ) : OCollection(_rParent,_bCase,_rMutex,_rVector,sal_False,_bUseHardRef)
+ ) : OCollection(_rParent,_bCase,_rMutex,_rVector,false,_bUseHardRef)
,m_pImpl(NULL)
,m_pTable(NULL)
{
@@ -129,7 +129,7 @@ sdbcx::ObjectType OColumnsHelper::createObject(const OUString& _rName)
pColDesc->nField9,
pColDesc->nField5,
bAutoIncrement,
- sal_False,
+ false,
bIsCurrency,
isCaseSensitive(),
aCatalog,
@@ -165,7 +165,7 @@ void OColumnsHelper::impl_refresh() throw(RuntimeException)
Reference< XPropertySet > OColumnsHelper::createDescriptor()
{
- return new OColumn(sal_True);
+ return new OColumn(true);
}
// XAppend
diff --git a/connectivity/source/commontools/TIndex.cxx b/connectivity/source/commontools/TIndex.cxx
index 9d20b748f056..7f5069602a93 100644
--- a/connectivity/source/commontools/TIndex.cxx
+++ b/connectivity/source/commontools/TIndex.cxx
@@ -32,7 +32,7 @@ using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
-OIndexHelper::OIndexHelper( OTableHelper* _pTable) : connectivity::sdbcx::OIndex(sal_True)
+OIndexHelper::OIndexHelper( OTableHelper* _pTable) : connectivity::sdbcx::OIndex(true)
, m_pTable(_pTable)
{
construct();
@@ -50,7 +50,7 @@ OIndexHelper::OIndexHelper( OTableHelper* _pTable,
_Catalog,
_isUnique,
_isPrimaryKeyIndex,
- _isClustered,sal_True)
+ _isClustered,true)
,m_pTable(_pTable)
{
construct();
diff --git a/connectivity/source/commontools/TIndexColumns.cxx b/connectivity/source/commontools/TIndexColumns.cxx
index 025e13123ad1..31d1367ff11b 100644
--- a/connectivity/source/commontools/TIndexColumns.cxx
+++ b/connectivity/source/commontools/TIndexColumns.cxx
@@ -39,7 +39,7 @@ using namespace ::com::sun::star::lang;
OIndexColumns::OIndexColumns( OIndexHelper* _pIndex,
::osl::Mutex& _rMutex,
const ::std::vector< OUString> &_rVector)
- : connectivity::sdbcx::OCollection(*_pIndex,sal_True,_rMutex,_rVector)
+ : connectivity::sdbcx::OCollection(*_pIndex,true,_rMutex,_rVector)
,m_pIndex(_pIndex)
{
}
@@ -94,7 +94,7 @@ sdbcx::ObjectType OIndexColumns::createObject(const OUString& _rName)
nSize,
nDec,
nDataType,
- sal_False,sal_False,sal_False,sal_True,
+ false,false,false,true,
aCatalog, aSchema, aTable);
xRet = pRet;
break;
@@ -107,7 +107,7 @@ sdbcx::ObjectType OIndexColumns::createObject(const OUString& _rName)
Reference< XPropertySet > OIndexColumns::createDescriptor()
{
- return new OIndexColumn(sal_True);
+ return new OIndexColumn(true);
}
void OIndexColumns::impl_refresh() throw(RuntimeException)
diff --git a/connectivity/source/commontools/TIndexes.cxx b/connectivity/source/commontools/TIndexes.cxx
index 27c7e16dd04b..f98bc1bed1f2 100644
--- a/connectivity/source/commontools/TIndexes.cxx
+++ b/connectivity/source/commontools/TIndexes.cxx
@@ -42,7 +42,7 @@ OIndexesHelper::OIndexesHelper(OTableHelper* _pTable,
::osl::Mutex& _rMutex,
const ::std::vector< OUString> &_rVector
)
- : OCollection(*_pTable,sal_True,_rMutex,_rVector)
+ : OCollection(*_pTable,true,_rMutex,_rVector)
,m_pTable(_pTable)
{
}
diff --git a/connectivity/source/commontools/TKey.cxx b/connectivity/source/commontools/TKey.cxx
index 4b984bf2198d..b269ab26bf71 100644
--- a/connectivity/source/commontools/TKey.cxx
+++ b/connectivity/source/commontools/TKey.cxx
@@ -31,7 +31,7 @@ using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
-OTableKeyHelper::OTableKeyHelper(OTableHelper* _pTable) : connectivity::sdbcx::OKey(sal_True)
+OTableKeyHelper::OTableKeyHelper(OTableHelper* _pTable) : connectivity::sdbcx::OKey(true)
,m_pTable(_pTable)
{
construct();
@@ -40,7 +40,7 @@ OTableKeyHelper::OTableKeyHelper(OTableHelper* _pTable) : connectivity::sdbcx::O
OTableKeyHelper::OTableKeyHelper( OTableHelper* _pTable
,const OUString& _Name
,const sdbcx::TKeyProperties& _rProps
- ) : connectivity::sdbcx::OKey(_Name,_rProps,sal_True)
+ ) : connectivity::sdbcx::OKey(_Name,_rProps,true)
,m_pTable(_pTable)
{
construct();
diff --git a/connectivity/source/commontools/TKeyColumns.cxx b/connectivity/source/commontools/TKeyColumns.cxx
index 73ab71ce7eb0..c79bcca8ab7d 100644
--- a/connectivity/source/commontools/TKeyColumns.cxx
+++ b/connectivity/source/commontools/TKeyColumns.cxx
@@ -40,7 +40,7 @@ using namespace ::com::sun::star::lang;
OKeyColumnsHelper::OKeyColumnsHelper( OTableKeyHelper* _pKey,
::osl::Mutex& _rMutex,
const ::std::vector< OUString> &_rVector)
- : connectivity::sdbcx::OCollection(*_pKey,sal_True,_rMutex,_rVector)
+ : connectivity::sdbcx::OCollection(*_pKey,true,_rMutex,_rVector)
,m_pKey(_pKey)
{
}
@@ -109,9 +109,9 @@ sdbcx::ObjectType OKeyColumnsHelper::createObject(const OUString& _rName)
nSize,
nDec,
nDataType,
- sal_False,
- sal_False,
- sal_False,
+ false,
+ false,
+ false,
isCaseSensitive(),
aCatalog,
aSchema,
diff --git a/connectivity/source/commontools/TKeys.cxx b/connectivity/source/commontools/TKeys.cxx
index abdb2f0bf6db..693e686e8f9f 100644
--- a/connectivity/source/commontools/TKeys.cxx
+++ b/connectivity/source/commontools/TKeys.cxx
@@ -45,7 +45,7 @@ using namespace ::com::sun::star::lang;
OKeysHelper::OKeysHelper( OTableHelper* _pTable,
::osl::Mutex& _rMutex,
const TStringVector& _rVector
- ) : OKeys_BASE(*_pTable,sal_True,_rMutex,_rVector,sal_True)
+ ) : OKeys_BASE(*_pTable,true,_rMutex,_rVector,true)
,m_pTable(_pTable)
{
}
diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx
index f2fc329a0053..d6f58bc0970f 100644
--- a/connectivity/source/commontools/dbtools2.cxx
+++ b/connectivity/source/commontools/dbtools2.cxx
@@ -492,7 +492,7 @@ namespace
nField9,
nField5,
bAutoIncrement,
- sal_False,
+ false,
bIsCurrency,
_bCase,
sCatalog,
@@ -561,7 +561,7 @@ Reference<XPropertySet> createSDBCXColumn(const Reference<XPropertySet>& _xTable
0,
DataType::VARCHAR,
_bIsAutoIncrement,
- sal_False,
+ false,
_bIsCurrency,
_bCase,
sCatalog,
diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx
index 718fe086d21d..23faa3b9b4de 100644
--- a/connectivity/source/drivers/calc/CTable.cxx
+++ b/connectivity/source/drivers/calc/CTable.cxx
@@ -510,7 +510,7 @@ void OCalcTable::fillColumns()
sdbcx::OColumn* pColumn = new sdbcx::OColumn( aAlias, aTypeName, OUString(),OUString(),
ColumnValue::NULLABLE, nPrecision, nDecimals,
- eType, sal_False, sal_False, bCurrency,
+ eType, false, false, bCurrency,
bStoresMixedCaseQuotedIdentifiers,
m_CatalogName, getSchema(), getName());
Reference< XPropertySet> xCol = pColumn;
diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx
index 8c314f391bfd..afbf1aba24e6 100644
--- a/connectivity/source/drivers/dbase/DIndex.cxx
+++ b/connectivity/source/drivers/dbase/DIndex.cxx
@@ -57,7 +57,7 @@ using namespace com::sun::star::lang;
IMPLEMENT_SERVICE_INFO(ODbaseIndex,"com.sun.star.sdbcx.driver.dbase.Index","com.sun.star.sdbcx.Index");
ODbaseIndex::ODbaseIndex(ODbaseTable* _pTable)
- : OIndex(sal_True/*_pTable->getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers()*/)
+ : OIndex(true/*_pTable->getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers()*/)
, m_pFileStream(NULL)
, m_nCurNode(NODE_NOTFOUND)
, m_nPageCount(0)
@@ -72,7 +72,7 @@ ODbaseIndex::ODbaseIndex(ODbaseTable* _pTable)
ODbaseIndex::ODbaseIndex( ODbaseTable* _pTable,
const NDXHeader& _rHeader,
const OUString& _rName)
- : OIndex(_rName,OUString(),_rHeader.db_unique,sal_False,sal_False,sal_True)
+ : OIndex(_rName, OUString(), _rHeader.db_unique, false, false, true)
, m_pFileStream(NULL)
, m_aHeader(_rHeader)
, m_nCurNode(NODE_NOTFOUND)
diff --git a/connectivity/source/drivers/dbase/DIndexColumns.cxx b/connectivity/source/drivers/dbase/DIndexColumns.cxx
index 16ab90e6ac88..a39484a3df6d 100644
--- a/connectivity/source/drivers/dbase/DIndexColumns.cxx
+++ b/connectivity/source/drivers/dbase/DIndexColumns.cxx
@@ -49,16 +49,16 @@ sdbcx::ObjectType ODbaseIndexColumns::createObject(const OUString& _rName)
if(!xCol.is())
return sdbcx::ObjectType();
- sdbcx::ObjectType xRet = new sdbcx::OIndexColumn(sal_True,_rName
+ sdbcx::ObjectType xRet = new sdbcx::OIndexColumn(true,_rName
,getString(xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPENAME)))
,OUString()
,getINT32(xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISNULLABLE)))
,getINT32(xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PRECISION)))
,getINT32(xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_SCALE)))
,getINT32(xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)))
- ,sal_False
- ,sal_False
- ,sal_False
+ ,false
+ ,false
+ ,false
,pTable->getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers()
,getString(xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_CATALOGNAME)))
,getString(xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_SCHEMANAME)))
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 057711549fa1..c19a466254d6 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -429,7 +429,7 @@ void ODbaseTable::fillColumns()
nPrecision,
aDBFColumn.db_dez,
eType,
- sal_False,
+ false,
bIsRowVersion,
bIsCurrency,
bCase,
diff --git a/connectivity/source/drivers/file/FColumns.cxx b/connectivity/source/drivers/file/FColumns.cxx
index 1f894a1e016c..3f1bdbd62282 100644
--- a/connectivity/source/drivers/file/FColumns.cxx
+++ b/connectivity/source/drivers/file/FColumns.cxx
@@ -59,9 +59,9 @@ sdbcx::ObjectType OColumns::createObject(const OUString& _rName)
xRow->getInt(7),
xRow->getInt(9),
xRow->getInt(5),
- sal_False,
- sal_False,
- sal_False,
+ false,
+ false,
+ false,
m_pTable->getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers(),
sCatalogName,
sSchemaName,
diff --git a/connectivity/source/drivers/firebird/Tables.cxx b/connectivity/source/drivers/firebird/Tables.cxx
index 63d94044b004..70e32725d045 100644
--- a/connectivity/source/drivers/firebird/Tables.cxx
+++ b/connectivity/source/drivers/firebird/Tables.cxx
@@ -34,7 +34,7 @@ Tables::Tables(const uno::Reference< XDatabaseMetaData >& rMetaData,
Mutex& rMutex,
TStringVector& rNames) :
OCollection(rParent,
- sal_True,
+ true,
rMutex,
rNames),
m_rMutex(rMutex),
diff --git a/connectivity/source/drivers/firebird/User.cxx b/connectivity/source/drivers/firebird/User.cxx
index 885ecffe3908..a9e6fc4323bd 100644
--- a/connectivity/source/drivers/firebird/User.cxx
+++ b/connectivity/source/drivers/firebird/User.cxx
@@ -19,14 +19,14 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::sdbc;
User::User(const uno::Reference< XConnection >& rConnection):
- OUser(sal_True) // Case Sensitive
+ OUser(true) // Case Sensitive
{
(void) rConnection;
}
User::User(const uno::Reference< XConnection >& rConnection, const OUString& rName):
OUser(rName,
- sal_True) // Case Sensitive
+ true) // Case Sensitive
{
(void) rConnection;
}
@@ -35,4 +35,4 @@ User::User(const uno::Reference< XConnection >& rConnection, const OUString& rNa
void User::refreshGroups()
{
// TODO: implement.
-} \ No newline at end of file
+}
diff --git a/connectivity/source/drivers/firebird/Users.cxx b/connectivity/source/drivers/firebird/Users.cxx
index 6e9f8667c0b3..e95cbb7cbe0a 100644
--- a/connectivity/source/drivers/firebird/Users.cxx
+++ b/connectivity/source/drivers/firebird/Users.cxx
@@ -34,7 +34,7 @@ Users::Users(const uno::Reference< XDatabaseMetaData >& rMetaData,
Mutex& rMutex,
TStringVector& rNames) :
OCollection(rParent,
- sal_True,
+ true,
rMutex,
rNames),
m_xMetaData(rMetaData)
diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx
index cff9047c1575..e156b1d0563e 100644
--- a/connectivity/source/drivers/flat/ETable.cxx
+++ b/connectivity/source/drivers/flat/ETable.cxx
@@ -185,9 +185,9 @@ void OFlatTable::fillColumns(const ::com::sun::star::lang::Locale& _aLocale)
m_aPrecisions[i],
m_aScales[i],
m_aTypes[i],
- sal_False,
- sal_False,
- sal_False,
+ false,
+ false,
+ false,
bCase,
m_CatalogName, getSchema(), getName());
Reference< XPropertySet> xCol = pColumn;
diff --git a/connectivity/source/drivers/hsqldb/HUser.cxx b/connectivity/source/drivers/hsqldb/HUser.cxx
index 64fdc4576d23..83eece4dd0ee 100644
--- a/connectivity/source/drivers/hsqldb/HUser.cxx
+++ b/connectivity/source/drivers/hsqldb/HUser.cxx
@@ -36,7 +36,7 @@ using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
-OHSQLUser::OHSQLUser( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection) : connectivity::sdbcx::OUser(sal_True)
+OHSQLUser::OHSQLUser( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection) : connectivity::sdbcx::OUser(true)
,m_xConnection(_xConnection)
{
construct();
@@ -44,7 +44,7 @@ OHSQLUser::OHSQLUser( const ::com::sun::star::uno::Reference< ::com::sun::star
OHSQLUser::OHSQLUser( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection,
const OUString& _Name
- ) : connectivity::sdbcx::OUser(_Name,sal_True)
+ ) : connectivity::sdbcx::OUser(_Name, true)
,m_xConnection(_xConnection)
{
construct();
diff --git a/connectivity/source/drivers/hsqldb/HUsers.cxx b/connectivity/source/drivers/hsqldb/HUsers.cxx
index 947cde124515..3bf553fe3520 100644
--- a/connectivity/source/drivers/hsqldb/HUsers.cxx
+++ b/connectivity/source/drivers/hsqldb/HUsers.cxx
@@ -42,7 +42,7 @@ OUsers::OUsers( ::cppu::OWeakObject& _rParent,
const TStringVector &_rVector,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection,
connectivity::sdbcx::IRefreshableUsers* _pParent)
- : sdbcx::OCollection(_rParent,sal_True,_rMutex,_rVector)
+ : sdbcx::OCollection(_rParent, true, _rMutex, _rVector)
,m_xConnection(_xConnection)
,m_pParent(_pParent)
{
diff --git a/connectivity/source/drivers/hsqldb/HViews.cxx b/connectivity/source/drivers/hsqldb/HViews.cxx
index 2a01e30cc6b3..43175cbb43f3 100644
--- a/connectivity/source/drivers/hsqldb/HViews.cxx
+++ b/connectivity/source/drivers/hsqldb/HViews.cxx
@@ -52,7 +52,7 @@ typedef connectivity::sdbcx::OCollection OCollection_TYPE;
HViews::HViews( const Reference< XConnection >& _rxConnection, ::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,
const TStringVector &_rVector )
- :sdbcx::OCollection( _rParent, sal_True, _rMutex, _rVector )
+ :sdbcx::OCollection( _rParent, true, _rMutex, _rVector )
,m_xConnection( _rxConnection )
,m_xMetaData( _rxConnection->getMetaData() )
,m_bInDrop( sal_False )
@@ -87,7 +87,7 @@ m_xMetaData.clear();
Reference< XPropertySet > HViews::createDescriptor()
{
Reference<XConnection> xConnection = static_cast<OHCatalog&>(m_rParent).getConnection();
- connectivity::sdbcx::OView* pNew = new connectivity::sdbcx::OView(sal_True,xConnection->getMetaData());
+ connectivity::sdbcx::OView* pNew = new connectivity::sdbcx::OView(true, xConnection->getMetaData());
return pNew;
}
diff --git a/connectivity/source/drivers/mork/MColumns.cxx b/connectivity/source/drivers/mork/MColumns.cxx
index 57851ee70f70..ba872cb3d5a9 100644
--- a/connectivity/source/drivers/mork/MColumns.cxx
+++ b/connectivity/source/drivers/mork/MColumns.cxx
@@ -69,7 +69,7 @@ sdbcx::ObjectType OColumns::createObject(const OUString& _rName)
nPrec,
xRow->getInt(9),
nType,
- sal_False,sal_False,sal_False,sal_True,
+ false,false,false,true,
sCatalogName,
sSchemaName,
sTableName);
diff --git a/connectivity/source/drivers/mork/MColumns.hxx b/connectivity/source/drivers/mork/MColumns.hxx
index 81864688f80f..0135f76235b5 100644
--- a/connectivity/source/drivers/mork/MColumns.hxx
+++ b/connectivity/source/drivers/mork/MColumns.hxx
@@ -40,7 +40,7 @@ namespace connectivity
OColumns( OTable* _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/mork/MPreparedStatement.cxx b/connectivity/source/drivers/mork/MPreparedStatement.cxx
index 9a39670123ad..a141bdfe8332 100644
--- a/connectivity/source/drivers/mork/MPreparedStatement.cxx
+++ b/connectivity/source/drivers/mork/MPreparedStatement.cxx
@@ -439,9 +439,9 @@ size_t OPreparedStatement::AddParameter(OSQLParseNode * pParameter, const Refere
,nPrecision
,nScale
,eType
- ,sal_False
- ,sal_False
- ,sal_False
+ ,false
+ ,false
+ ,false
,m_pSQLIterator->isCaseSensitive()
,OUString()
,OUString()
diff --git a/connectivity/source/drivers/mork/MTables.hxx b/connectivity/source/drivers/mork/MTables.hxx
index 1098b21973a4..1193018c04ab 100644
--- a/connectivity/source/drivers/mork/MTables.hxx
+++ b/connectivity/source/drivers/mork/MTables.hxx
@@ -34,7 +34,7 @@ namespace connectivity
virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
public:
OTables(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)
+ const TStringVector &_rVector) : sdbcx::OCollection(_rParent, true, _rMutex, _rVector)
,m_xMetaData(_rMetaData)
{}
diff --git a/connectivity/source/drivers/mysql/YTable.cxx b/connectivity/source/drivers/mysql/YTable.cxx
index defc31805a04..eeb2315c8026 100644
--- a/connectivity/source/drivers/mysql/YTable.cxx
+++ b/connectivity/source/drivers/mysql/YTable.cxx
@@ -297,7 +297,7 @@ void OMySQLTable::alterColumnType(sal_Int32 nNewType,const OUString& _rColName,
" CHANGE " + ::dbtools::quoteName(sQuote,_rColName) +
" ";
- OColumn* pColumn = new OColumn(sal_True);
+ OColumn* pColumn = new OColumn(true);
Reference<XPropertySet> xProp = pColumn;
::comphelper::copyProperties(_xDescriptor,xProp);
xProp->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE),makeAny(nNewType));
diff --git a/connectivity/source/drivers/mysql/YUser.cxx b/connectivity/source/drivers/mysql/YUser.cxx
index 3f6edd363cf1..4d955ee82b6a 100644
--- a/connectivity/source/drivers/mysql/YUser.cxx
+++ b/connectivity/source/drivers/mysql/YUser.cxx
@@ -36,7 +36,7 @@ using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
-OMySQLUser::OMySQLUser( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection) : connectivity::sdbcx::OUser(sal_True)
+OMySQLUser::OMySQLUser( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection) : connectivity::sdbcx::OUser(true)
,m_xConnection(_xConnection)
{
construct();
@@ -44,7 +44,7 @@ OMySQLUser::OMySQLUser( const ::com::sun::star::uno::Reference< ::com::sun::star
OMySQLUser::OMySQLUser( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection,
const OUString& _Name
- ) : connectivity::sdbcx::OUser(_Name,sal_True)
+ ) : connectivity::sdbcx::OUser(_Name, true)
,m_xConnection(_xConnection)
{
construct();
diff --git a/connectivity/source/drivers/mysql/YUsers.cxx b/connectivity/source/drivers/mysql/YUsers.cxx
index ff8e9fedcbda..b4342d3ee5af 100644
--- a/connectivity/source/drivers/mysql/YUsers.cxx
+++ b/connectivity/source/drivers/mysql/YUsers.cxx
@@ -42,7 +42,7 @@ OUsers::OUsers( ::cppu::OWeakObject& _rParent,
const TStringVector &_rVector,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection,
connectivity::sdbcx::IRefreshableUsers* _pParent)
- : sdbcx::OCollection(_rParent,sal_True,_rMutex,_rVector)
+ : sdbcx::OCollection(_rParent, true, _rMutex, _rVector)
,m_xConnection(_xConnection)
,m_pParent(_pParent)
{
diff --git a/connectivity/source/drivers/mysql/YViews.cxx b/connectivity/source/drivers/mysql/YViews.cxx
index 4a87c34a6fb2..29cd61436281 100644
--- a/connectivity/source/drivers/mysql/YViews.cxx
+++ b/connectivity/source/drivers/mysql/YViews.cxx
@@ -81,7 +81,7 @@ m_xMetaData.clear();
Reference< XPropertySet > OViews::createDescriptor()
{
Reference<XConnection> xConnection = static_cast<OMySQLCatalog&>(m_rParent).getConnection();
- connectivity::sdbcx::OView* pNew = new connectivity::sdbcx::OView(sal_True,xConnection->getMetaData());
+ connectivity::sdbcx::OView* pNew = new connectivity::sdbcx::OView(true, xConnection->getMetaData());
return pNew;
}
diff --git a/connectivity/source/inc/hsqldb/HTables.hxx b/connectivity/source/inc/hsqldb/HTables.hxx
index 87ec047de762..2858e90de959 100644
--- a/connectivity/source/inc/hsqldb/HTables.hxx
+++ b/connectivity/source/inc/hsqldb/HTables.hxx
@@ -40,7 +40,7 @@ namespace connectivity
virtual OUString getNameForObject(const sdbcx::ObjectType& _xObject) SAL_OVERRIDE;
public:
OTables(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)
+ const TStringVector &_rVector) : sdbcx::OCollection(_rParent, true, _rMutex, _rVector)
,m_xMetaData(_rMetaData)
{}
diff --git a/connectivity/source/inc/mysql/YTables.hxx b/connectivity/source/inc/mysql/YTables.hxx
index 1175c18f4074..441c31e3a7f0 100644
--- a/connectivity/source/inc/mysql/YTables.hxx
+++ b/connectivity/source/inc/mysql/YTables.hxx
@@ -42,7 +42,7 @@ namespace connectivity
virtual OUString getNameForObject(const sdbcx::ObjectType& _xObject) SAL_OVERRIDE;
public:
OTables(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)
+ const TStringVector &_rVector) : sdbcx::OCollection(_rParent, true, _rMutex, _rVector)
,m_xMetaData(_rMetaData)
{}
diff --git a/connectivity/source/inc/mysql/YViews.hxx b/connectivity/source/inc/mysql/YViews.hxx
index d499979f0c9c..24bc37757ddf 100644
--- a/connectivity/source/inc/mysql/YViews.hxx
+++ b/connectivity/source/inc/mysql/YViews.hxx
@@ -40,7 +40,7 @@ namespace connectivity
void createView( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
public:
OViews(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)
+ const TStringVector &_rVector) : sdbcx::OCollection(_rParent, true, _rMutex, _rVector)
,m_xMetaData(_rMetaData)
,m_bInDrop(sal_False)
{}
diff --git a/connectivity/source/parse/PColumn.cxx b/connectivity/source/parse/PColumn.cxx
index fec6c53485ee..4afbde76b52a 100644
--- a/connectivity/source/parse/PColumn.cxx
+++ b/connectivity/source/parse/PColumn.cxx
@@ -45,7 +45,7 @@ OParseColumn::OParseColumn(const Reference<XPropertySet>& _xColumn, bool _bCase)
, getINT32(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_SCALE)))
, getINT32(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)))
, getBOOL(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISAUTOINCREMENT)))
- , sal_False
+ , false
, getBOOL(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISCURRENCY)))
, _bCase
, getString(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_CATALOGNAME)))
@@ -84,7 +84,7 @@ OParseColumn::OParseColumn( const OUString& _Name,
_Scale,
_Type,
_IsAutoIncrement,
- sal_False,
+ false,
_IsCurrency,
_bCase,
_CatalogName,
@@ -202,7 +202,7 @@ OOrderColumn::OOrderColumn( const Reference<XPropertySet>& _xColumn, const OUStr
getINT32(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_SCALE))),
getINT32(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE))),
getBOOL(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISAUTOINCREMENT))),
- sal_False,
+ false,
getBOOL(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISCURRENCY))),
_bCase,
getString(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_CATALOGNAME))),
@@ -226,7 +226,7 @@ OOrderColumn::OOrderColumn( const Reference<XPropertySet>& _xColumn, bool _bCase
getINT32(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_SCALE))),
getINT32(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE))),
getBOOL(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISAUTOINCREMENT))),
- sal_False,
+ false,
getBOOL(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISCURRENCY))),
_bCase,
getString(_xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_CATALOGNAME))),
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx
index d1afe3318db0..2b0605543cac 100644
--- a/connectivity/source/parse/sqliterator.cxx
+++ b/connectivity/source/parse/sqliterator.cxx
@@ -1636,7 +1636,7 @@ OSQLTable OSQLParseTreeIterator::impl_createTableObject( const OUString& rTableN
OSQLTable aReturnTable = new OTable(
NULL,
- sal_False,
+ false,
rTableName,
OUString("Table"),
OUString("New Created Table"),
diff --git a/connectivity/source/sdbcx/VCollection.cxx b/connectivity/source/sdbcx/VCollection.cxx
index 586f5c41f6b5..a427c4d7a0e2 100644
--- a/connectivity/source/sdbcx/VCollection.cxx
+++ b/connectivity/source/sdbcx/VCollection.cxx
@@ -56,8 +56,8 @@ namespace
::std::vector< ObjectIter > m_aElements; // hold the iterators which point to map
ObjectMap m_aNameMap; // hold the elements and a name
public:
- OHardRefMap(sal_Bool _bCase)
- : m_aNameMap(_bCase ? true : false)
+ OHardRefMap(bool _bCase)
+ : m_aNameMap(_bCase)
{
}
virtual ~OHardRefMap()
@@ -215,7 +215,7 @@ namespace
m_aElements[_nIndex]->second = _xObject;
}
- sal_Bool isCaseSensitive() const SAL_OVERRIDE
+ bool isCaseSensitive() const SAL_OVERRIDE
{
return m_aNameMap.key_comp().isCaseSensitive();
}
@@ -228,11 +228,11 @@ IObjectCollection::~IObjectCollection() {}
IMPLEMENT_SERVICE_INFO(OCollection,"com.sun.star.sdbcx.VContainer" , "com.sun.star.sdbcx.Container")
OCollection::OCollection(::cppu::OWeakObject& _rParent
- , sal_Bool _bCase
+ , bool _bCase
, ::osl::Mutex& _rMutex
, const TStringVector &_rVector
- , sal_Bool _bUseIndexOnly
- , sal_Bool _bUseHardRef)
+ , bool _bUseIndexOnly
+ , bool _bUseHardRef)
:m_aContainerListeners(_rMutex)
,m_aRefreshListeners(_rMutex)
,m_rParent(_rParent)
@@ -386,7 +386,7 @@ void SAL_CALL OCollection::appendByDescriptor( const Reference< XPropertySet >&
ODescriptor* pDescriptor = ODescriptor::getImplementation( xNewlyCreated );
if ( pDescriptor )
- pDescriptor->setNew( sal_False );
+ pDescriptor->setNew( false );
sName = getNameForObject( xNewlyCreated );
if ( !m_pElements->exists( sName ) ) // this may happen when the drived class included it itself
@@ -418,7 +418,7 @@ void SAL_CALL OCollection::dropByIndex( sal_Int32 index ) throw(SQLException, In
dropImpl(index);
}
-void OCollection::dropImpl(sal_Int32 _nIndex,sal_Bool _bReallyDrop)
+void OCollection::dropImpl(sal_Int32 _nIndex, bool _bReallyDrop)
{
OUString elementName = m_pElements->getName(_nIndex);
@@ -548,7 +548,7 @@ ObjectType OCollection::getObject(sal_Int32 _nIndex)
{
try
{
- dropImpl(_nIndex,sal_False);
+ dropImpl(_nIndex,false);
}
catch(const Exception& )
{
diff --git a/connectivity/source/sdbcx/VColumn.cxx b/connectivity/source/sdbcx/VColumn.cxx
index 139c750ef486..a22b54311dc9 100644
--- a/connectivity/source/sdbcx/VColumn.cxx
+++ b/connectivity/source/sdbcx/VColumn.cxx
@@ -56,16 +56,16 @@ sal_Bool SAL_CALL OColumn::supportsService( const OUString& _rServiceName ) thro
return cppu::supportsService(this, _rServiceName);
}
-OColumn::OColumn(sal_Bool _bCase)
+OColumn::OColumn(bool _bCase)
:OColumnDescriptor_BASE(m_aMutex)
- ,ODescriptor(OColumnDescriptor_BASE::rBHelper,_bCase,sal_True)
+ ,ODescriptor(OColumnDescriptor_BASE::rBHelper,_bCase,true)
,m_IsNullable(ColumnValue::NULLABLE)
,m_Precision(0)
,m_Scale(0)
,m_Type(0)
- ,m_IsAutoIncrement(sal_False)
- ,m_IsRowVersion(sal_False)
- ,m_IsCurrency(sal_False)
+ ,m_IsAutoIncrement(false)
+ ,m_IsRowVersion(false)
+ ,m_IsCurrency(false)
{
construct();
}
@@ -78,10 +78,10 @@ OColumn::OColumn( const OUString& _Name,
sal_Int32 _Precision,
sal_Int32 _Scale,
sal_Int32 _Type,
- sal_Bool _IsAutoIncrement,
- sal_Bool _IsRowVersion,
- sal_Bool _IsCurrency,
- sal_Bool _bCase,
+ bool _IsAutoIncrement,
+ bool _IsRowVersion,
+ bool _IsCurrency,
+ bool _bCase,
const OUString& _CatalogName,
const OUString& _SchemaName,
const OUString& _TableName)
@@ -202,7 +202,7 @@ Reference< XPropertySet > SAL_CALL OColumn::createDataDescriptor( ) throw(Runti
m_CatalogName,
m_SchemaName,
m_TableName);
- pNewColumn->setNew(sal_True);
+ pNewColumn->setNew(true);
return pNewColumn;
}
diff --git a/connectivity/source/sdbcx/VDescriptor.cxx b/connectivity/source/sdbcx/VDescriptor.cxx
index 751b6965244d..a911b0b6f33c 100644
--- a/connectivity/source/sdbcx/VDescriptor.cxx
+++ b/connectivity/source/sdbcx/VDescriptor.cxx
@@ -36,7 +36,7 @@ namespace connectivity
// = ODescriptor
- ODescriptor::ODescriptor(::cppu::OBroadcastHelper& _rBHelper,sal_Bool _bCase, sal_Bool _bNew)
+ ODescriptor::ODescriptor(::cppu::OBroadcastHelper& _rBHelper, bool _bCase, bool _bNew)
:ODescriptor_PBASE(_rBHelper)
,m_aCase(_bCase)
,m_bNew(_bNew)
@@ -95,10 +95,10 @@ namespace connectivity
}
- sal_Bool ODescriptor::isNew( const Reference< XInterface >& _rxDescriptor )
+ bool ODescriptor::isNew( const Reference< XInterface >& _rxDescriptor )
{
ODescriptor* pImplementation = getImplementation( _rxDescriptor );
- return pImplementation != NULL ? pImplementation->isNew() : sal_False;
+ return pImplementation && pImplementation->isNew();
}
@@ -125,7 +125,7 @@ namespace connectivity
}
- void ODescriptor::setNew(sal_Bool _bNew)
+ void ODescriptor::setNew(bool _bNew)
{
m_bNew = _bNew;
}
diff --git a/connectivity/source/sdbcx/VGroup.cxx b/connectivity/source/sdbcx/VGroup.cxx
index ad02fef43e13..b1eeac8eb52f 100644
--- a/connectivity/source/sdbcx/VGroup.cxx
+++ b/connectivity/source/sdbcx/VGroup.cxx
@@ -38,13 +38,13 @@ using namespace ::com::sun::star::beans;
IMPLEMENT_SERVICE_INFO(OGroup,"com.sun.star.sdbcx.VGroup","com.sun.star.sdbcx.Group");
-OGroup::OGroup(sal_Bool _bCase) : OGroup_BASE(m_aMutex)
+OGroup::OGroup(bool _bCase) : OGroup_BASE(m_aMutex)
, ODescriptor(OGroup_BASE::rBHelper,_bCase)
, m_pUsers(NULL)
{
}
-OGroup::OGroup(const OUString& _Name,sal_Bool _bCase) : OGroup_BASE(m_aMutex)
+OGroup::OGroup(const OUString& _Name, bool _bCase) : OGroup_BASE(m_aMutex)
,ODescriptor(OGroup_BASE::rBHelper,_bCase)
,m_pUsers(NULL)
{
diff --git a/connectivity/source/sdbcx/VIndex.cxx b/connectivity/source/sdbcx/VIndex.cxx
index 4de35b272835..43c6167d433f 100644
--- a/connectivity/source/sdbcx/VIndex.cxx
+++ b/connectivity/source/sdbcx/VIndex.cxx
@@ -61,21 +61,21 @@ sal_Bool SAL_CALL OIndex::supportsService( const OUString& _rServiceName ) throw
return cppu::supportsService(this, _rServiceName);
}
-OIndex::OIndex(sal_Bool _bCase) : ODescriptor_BASE(m_aMutex)
- , ODescriptor(ODescriptor_BASE::rBHelper,_bCase,sal_True)
- ,m_IsUnique(sal_False)
- ,m_IsPrimaryKeyIndex(sal_False)
- ,m_IsClustered(sal_False)
+OIndex::OIndex(bool _bCase) : ODescriptor_BASE(m_aMutex)
+ , ODescriptor(ODescriptor_BASE::rBHelper,_bCase,true)
+ ,m_IsUnique(false)
+ ,m_IsPrimaryKeyIndex(false)
+ ,m_IsClustered(false)
,m_pColumns(NULL)
{
}
OIndex::OIndex( const OUString& _Name,
const OUString& _Catalog,
- sal_Bool _isUnique,
- sal_Bool _isPrimaryKeyIndex,
- sal_Bool _isClustered,
- sal_Bool _bCase) : ODescriptor_BASE(m_aMutex)
+ bool _isUnique,
+ bool _isPrimaryKeyIndex,
+ bool _isClustered,
+ bool _bCase) : ODescriptor_BASE(m_aMutex)
,ODescriptor(ODescriptor_BASE::rBHelper,_bCase)
,m_Catalog(_Catalog)
,m_IsUnique(_isUnique)
diff --git a/connectivity/source/sdbcx/VIndexColumn.cxx b/connectivity/source/sdbcx/VIndexColumn.cxx
index 05025d82665f..d1b6dc108602 100644
--- a/connectivity/source/sdbcx/VIndexColumn.cxx
+++ b/connectivity/source/sdbcx/VIndexColumn.cxx
@@ -49,27 +49,27 @@ sal_Bool SAL_CALL OIndexColumn::supportsService( const OUString& _rServiceName )
return cppu::supportsService(this, _rServiceName);
}
-OIndexColumn::OIndexColumn(sal_Bool _bCase) : OColumn(_bCase), m_IsAscending(sal_True)
+OIndexColumn::OIndexColumn(bool _bCase) : OColumn(_bCase), m_IsAscending(true)
{
construct();
}
-OIndexColumn::OIndexColumn( sal_Bool _IsAscending,
+OIndexColumn::OIndexColumn( bool _IsAscending,
const OUString& _Name,
const OUString& _TypeName,
const OUString& _DefaultValue,
- sal_Int32 _IsNullable,
- sal_Int32 _Precision,
- sal_Int32 _Scale,
- sal_Int32 _Type,
- sal_Bool _IsAutoIncrement,
- sal_Bool _IsRowVersion,
- sal_Bool _IsCurrency,
- sal_Bool _bCase,
- const OUString& _CatalogName,
- const OUString& _SchemaName,
- const OUString& _TableName
+ sal_Int32 _IsNullable,
+ sal_Int32 _Precision,
+ sal_Int32 _Scale,
+ sal_Int32 _Type,
+ bool _IsAutoIncrement,
+ bool _IsRowVersion,
+ bool _IsCurrency,
+ bool _bCase,
+ const OUString& _CatalogName,
+ const OUString& _SchemaName,
+ const OUString& _TableName
) : OColumn(_Name,
_TypeName,
_DefaultValue,
diff --git a/connectivity/source/sdbcx/VKey.cxx b/connectivity/source/sdbcx/VKey.cxx
index a20cebf63f37..af05f8188888 100644
--- a/connectivity/source/sdbcx/VKey.cxx
+++ b/connectivity/source/sdbcx/VKey.cxx
@@ -59,14 +59,14 @@ sal_Bool SAL_CALL OKey::supportsService( const OUString& _rServiceName ) throw(:
return cppu::supportsService(this, _rServiceName);
}
-OKey::OKey(sal_Bool _bCase) : ODescriptor_BASE(m_aMutex)
- , ODescriptor(ODescriptor_BASE::rBHelper,_bCase,sal_True)
+OKey::OKey(bool _bCase) : ODescriptor_BASE(m_aMutex)
+ , ODescriptor(ODescriptor_BASE::rBHelper, _bCase, true)
, m_aProps(new KeyProperties())
, m_pColumns(NULL)
{
}
-OKey::OKey(const OUString& _Name,const TKeyProperties& _rProps,sal_Bool _bCase)
+OKey::OKey(const OUString& _Name,const TKeyProperties& _rProps, bool _bCase)
: ODescriptor_BASE(m_aMutex)
,ODescriptor(ODescriptor_BASE::rBHelper,_bCase)
,m_aProps(_rProps)
diff --git a/connectivity/source/sdbcx/VKeyColumn.cxx b/connectivity/source/sdbcx/VKeyColumn.cxx
index 0c60fefe297e..fdbb9e2d6b89 100644
--- a/connectivity/source/sdbcx/VKeyColumn.cxx
+++ b/connectivity/source/sdbcx/VKeyColumn.cxx
@@ -50,7 +50,7 @@ sal_Bool SAL_CALL OKeyColumn::supportsService( const OUString& _rServiceName ) t
return cppu::supportsService(this, _rServiceName);
}
-OKeyColumn::OKeyColumn(sal_Bool _bCase) : OColumn(_bCase)
+OKeyColumn::OKeyColumn(bool _bCase) : OColumn(_bCase)
{
construct();
}
@@ -59,17 +59,17 @@ OKeyColumn::OKeyColumn( const OUString& _ReferencedColumn,
const OUString& _Name,
const OUString& _TypeName,
const OUString& _DefaultValue,
- sal_Int32 _IsNullable,
- sal_Int32 _Precision,
- sal_Int32 _Scale,
- sal_Int32 _Type,
- sal_Bool _IsAutoIncrement,
- sal_Bool _IsRowVersion,
- sal_Bool _IsCurrency,
- sal_Bool _bCase,
- const OUString& _CatalogName,
- const OUString& _SchemaName,
- const OUString& _TableName
+ sal_Int32 _IsNullable,
+ sal_Int32 _Precision,
+ sal_Int32 _Scale,
+ sal_Int32 _Type,
+ bool _IsAutoIncrement,
+ bool _IsRowVersion,
+ bool _IsCurrency,
+ bool _bCase,
+ const OUString& _CatalogName,
+ const OUString& _SchemaName,
+ const OUString& _TableName
) : OColumn(_Name,
_TypeName,
_DefaultValue,
diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx
index ff1d3eb3beba..2a2fe3559ddc 100644
--- a/connectivity/source/sdbcx/VTable.cxx
+++ b/connectivity/source/sdbcx/VTable.cxx
@@ -65,9 +65,9 @@ sal_Bool SAL_CALL OTable::supportsService( const OUString& _rServiceName ) throw
}
OTable::OTable(OCollection* _pTables,
- sal_Bool _bCase)
+ bool _bCase)
: OTableDescriptor_BASE(m_aMutex)
- ,ODescriptor(OTableDescriptor_BASE::rBHelper,_bCase,sal_True)
+ ,ODescriptor(OTableDescriptor_BASE::rBHelper,_bCase,true)
,m_pKeys(NULL)
,m_pColumns(NULL)
,m_pIndexes(NULL)
@@ -76,7 +76,7 @@ OTable::OTable(OCollection* _pTables,
}
OTable::OTable( OCollection* _pTables,
- sal_Bool _bCase,
+ bool _bCase,
const OUString& _Name, const OUString& _Type,
const OUString& _Description,const OUString& _SchemaName,
const OUString& _CatalogName) : OTableDescriptor_BASE(m_aMutex)
@@ -229,7 +229,7 @@ Reference< XPropertySet > SAL_CALL OTable::createDataDescriptor( ) throw(Runtim
checkDisposed(OTableDescriptor_BASE::rBHelper.bDisposed);
OTable* pTable = new OTable(m_pTables,isCaseSensitive(),m_Name,m_Type,m_Description,m_SchemaName,m_CatalogName);
- pTable->setNew(sal_True);
+ pTable->setNew(true);
return pTable;
}
diff --git a/connectivity/source/sdbcx/VUser.cxx b/connectivity/source/sdbcx/VUser.cxx
index 9119cbfd53a7..31fc79721088 100644
--- a/connectivity/source/sdbcx/VUser.cxx
+++ b/connectivity/source/sdbcx/VUser.cxx
@@ -39,13 +39,13 @@ using namespace ::com::sun::star::lang;
IMPLEMENT_SERVICE_INFO(OUser,"com.sun.star.sdbcx.VUser","com.sun.star.sdbcx.User");
-OUser::OUser(sal_Bool _bCase) : OUser_BASE(m_aMutex)
- , ODescriptor(OUser_BASE::rBHelper,_bCase,sal_True)
+OUser::OUser(bool _bCase) : OUser_BASE(m_aMutex)
+ , ODescriptor(OUser_BASE::rBHelper,_bCase,true)
, m_pGroups(NULL)
{
}
-OUser::OUser(const OUString& _Name,sal_Bool _bCase) : OUser_BASE(m_aMutex)
+OUser::OUser(const OUString& _Name, bool _bCase) : OUser_BASE(m_aMutex)
,ODescriptor(OUser_BASE::rBHelper,_bCase)
,m_pGroups(NULL)
{
diff --git a/connectivity/source/sdbcx/VView.cxx b/connectivity/source/sdbcx/VView.cxx
index 29bd8c167bdc..acae77fee3f2 100644
--- a/connectivity/source/sdbcx/VView.cxx
+++ b/connectivity/source/sdbcx/VView.cxx
@@ -34,7 +34,7 @@ using namespace ::com::sun::star::lang;
IMPLEMENT_SERVICE_INFO(OView,"com.sun.star.sdbcx.VView","com.sun.star.sdbcx.View");
-OView::OView(sal_Bool _bCase,
+OView::OView(bool _bCase,
const OUString& _Name,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _xMetaData,
sal_Int32 _CheckOption,
@@ -52,8 +52,8 @@ OView::OView(sal_Bool _bCase,
construct();
}
-OView::OView(sal_Bool _bCase,const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _xMetaData)
- : ODescriptor(::comphelper::OMutexAndBroadcastHelper::m_aBHelper,_bCase,sal_True)
+OView::OView(bool _bCase, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _xMetaData)
+ : ODescriptor(::comphelper::OMutexAndBroadcastHelper::m_aBHelper, _bCase, true)
,m_xMetaData(_xMetaData)
{
construct();