diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-31 17:30:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-01 07:38:09 +0200 |
commit | 8728c3466211f71cea119a9895a0f4619fd47d96 (patch) | |
tree | 35bbe3172566195c6334b145bdf3d3a92012eaca /connectivity/source/drivers/mysql | |
parent | 73c1ac010c544e836cfff4c53542a2bb37630c9f (diff) |
connectivity: sal_Bool->bool
Change-Id: Iafa52d3643b9313c20c75cf98f6b1ec231bf9d6d
Diffstat (limited to 'connectivity/source/drivers/mysql')
-rw-r--r-- | connectivity/source/drivers/mysql/YTable.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/mysql/YUser.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/mysql/YUsers.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/mysql/YViews.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
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; } |