diff options
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; } |