summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-12 13:11:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-12 13:11:59 +0200
commited95e1c5619e2cb2a8f6d93a1b7c45f36f1524dd (patch)
treeb4465c9dbcfdca9254d4bbdfa810fce8858343a5 /connectivity/source/drivers/evoab2
parentaa325833295e3983d93758b0e1194d7fb9365ee7 (diff)
connectivity: sal_Bool -> bool
Change-Id: Id9458a3aa0928eedc87aec39f305b206e2638e67
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx10
-rw-r--r--connectivity/source/drivers/evoab2/NDriver.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NDriver.hxx2
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NServices.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NStatement.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NStatement.hxx2
7 files changed, 11 insertions, 11 deletions
diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
index 12605cb3878b..c53523b5d479 100644
--- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
@@ -176,7 +176,7 @@ namespace connectivity
guint findEvoabField(const OUString& aColName)
{
guint nRet = (guint)-1;
- sal_Bool bFound = sal_False;
+ bool bFound = false;
initFields();
for (guint i=0;(i < nFields) && !bFound;i++)
{
@@ -184,7 +184,7 @@ namespace connectivity
if (aName == aColName)
{
nRet = i;
- bFound = sal_True;
+ bFound = true;
}
}
return nRet;
@@ -1105,11 +1105,11 @@ Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getTables(
const OUString aTable("TABLE");
- sal_Bool bTableFound = sal_True;
+ bool bTableFound = true;
sal_Int32 nLength = types.getLength();
if(nLength)
{
- bTableFound = sal_False;
+ bTableFound = false;
const OUString* pBegin = types.getConstArray();
const OUString* pEnd = pBegin + nLength;
@@ -1117,7 +1117,7 @@ Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getTables(
{
if(*pBegin == aTable)
{
- bTableFound = sal_True;
+ bTableFound = true;
break;
}
}
diff --git a/connectivity/source/drivers/evoab2/NDriver.cxx b/connectivity/source/drivers/evoab2/NDriver.cxx
index acb2955c014c..b46eac9828ff 100644
--- a/connectivity/source/drivers/evoab2/NDriver.cxx
+++ b/connectivity/source/drivers/evoab2/NDriver.cxx
@@ -165,7 +165,7 @@ sal_Int32 SAL_CALL OEvoabDriver::getMinorVersion( ) throw(RuntimeException, std
return 0;
}
-sal_Bool OEvoabDriver::acceptsURL_Stat( const OUString& url )
+bool OEvoabDriver::acceptsURL_Stat( const OUString& url )
{
return ( url == "sdbc:address:evolution:local" || url == "sdbc:address:evolution:groupwise" || url == "sdbc:address:evolution:ldap" ) && EApiInit();
}
diff --git a/connectivity/source/drivers/evoab2/NDriver.hxx b/connectivity/source/drivers/evoab2/NDriver.hxx
index ba71a4b236a7..9b8fe33bb922 100644
--- a/connectivity/source/drivers/evoab2/NDriver.hxx
+++ b/connectivity/source/drivers/evoab2/NDriver.hxx
@@ -85,7 +85,7 @@ namespace connectivity
getComponentContext( ) const { return comphelper::getComponentContext( m_xFactory ); }
// static methods
- static sal_Bool acceptsURL_Stat( const OUString& url );
+ static bool acceptsURL_Stat( const OUString& url );
};
}
diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx
index 81f3bb85d637..bbf643c78a7e 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.cxx
@@ -766,7 +766,7 @@ sal_Bool SAL_CALL OEvoabResultSet::getBoolean( sal_Int32 nColumnNum ) throw(SQLE
{
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
- sal_Bool bResult = sal_False;
+ bool bResult = false;
if ( m_xMetaData.is())
{
diff --git a/connectivity/source/drivers/evoab2/NServices.cxx b/connectivity/source/drivers/evoab2/NServices.cxx
index f66e9166fc4f..5113311e3c5f 100644
--- a/connectivity/source/drivers/evoab2/NServices.cxx
+++ b/connectivity/source/drivers/evoab2/NServices.cxx
@@ -53,7 +53,7 @@ struct ProviderRequest
}
inline
- sal_Bool CREATE_PROVIDER(
+ bool CREATE_PROVIDER(
const OUString& Implname,
const Sequence< OUString > & Services,
::cppu::ComponentInstantiation Factory,
diff --git a/connectivity/source/drivers/evoab2/NStatement.cxx b/connectivity/source/drivers/evoab2/NStatement.cxx
index 4d7ad92e496c..95b2efe09ef5 100644
--- a/connectivity/source/drivers/evoab2/NStatement.cxx
+++ b/connectivity/source/drivers/evoab2/NStatement.cxx
@@ -64,7 +64,7 @@ OCommonStatement::OCommonStatement(OEvoabConnection* _pConnection)
, m_nResultSetType(ResultSetType::FORWARD_ONLY)
, m_nFetchDirection(FetchDirection::FORWARD)
, m_nResultSetConcurrency(ResultSetConcurrency::UPDATABLE)
- , m_bEscapeProcessing(sal_True)
+ , m_bEscapeProcessing(true)
{
m_pConnection->acquire();
diff --git a/connectivity/source/drivers/evoab2/NStatement.hxx b/connectivity/source/drivers/evoab2/NStatement.hxx
index 0a499aadd255..bc6467c41167 100644
--- a/connectivity/source/drivers/evoab2/NStatement.hxx
+++ b/connectivity/source/drivers/evoab2/NStatement.hxx
@@ -161,7 +161,7 @@ namespace connectivity
sal_Int32 m_nResultSetType;
sal_Int32 m_nFetchDirection;
sal_Int32 m_nResultSetConcurrency;
- sal_Bool m_bEscapeProcessing;
+ bool m_bEscapeProcessing;
// </properties>
protected: