diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-07-02 08:42:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-07-02 08:42:58 +0200 |
commit | dbf99dfb980f772250e8ec4792c1bf5a1458629b (patch) | |
tree | 84dfe95482e1173b6e9bfb8edaf47639d05c247c /mysqlc/source/mysqlc_statement.cxx | |
parent | 4776da791f69fa14104f054923be25618c297398 (diff) |
mysqlc: sal_Bool -> bool
Change-Id: Ie479e1671b03fbb958886d4c01ecff41b2ad1d23
Diffstat (limited to 'mysqlc/source/mysqlc_statement.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_statement.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx index 2c6cb8e9b755..54679df63273 100644 --- a/mysqlc/source/mysqlc_statement.cxx +++ b/mysqlc/source/mysqlc_statement.cxx @@ -179,7 +179,7 @@ sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql) checkDisposed(rBHelper.bDisposed); const OUString sSqlStatement = m_pConnection->transFormPreparedStatement( sql ); - sal_Bool success = false; + bool success = false; try { success = cppStatement->execute(OUStringToOString(sSqlStatement, m_pConnection->getConnectionSettings().encoding).getStr())? sal_True:sal_False; } catch (const sql::SQLException &e) { @@ -401,7 +401,7 @@ sal_Bool OCommonStatement::convertFastPropertyValue( throw (IllegalArgumentException) { OSL_TRACE("OCommonStatement::convertFastPropertyValue"); - sal_Bool bConverted = sal_False; + bool bConverted = false; // here we have to try to convert return bConverted; } |