summaryrefslogtreecommitdiffstats
path: root/mysqlc/source/mysqlc_statement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mysqlc/source/mysqlc_statement.cxx')
-rw-r--r--mysqlc/source/mysqlc_statement.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx
index 5590acfd41ae..f2a15d38f7af 100644
--- a/mysqlc/source/mysqlc_statement.cxx
+++ b/mysqlc/source/mysqlc_statement.cxx
@@ -158,7 +158,7 @@ sal_Bool SAL_CALL OCommonStatement::execute(const rtl::OUString& sql)
bool success = false;
try {
- success = cppStatement->execute(rtl::OUStringToOString(sSqlStatement, m_pConnection->getConnectionSettings().encoding).getStr())? true:false;
+ success = cppStatement->execute(rtl::OUStringToOString(sSqlStatement, m_pConnection->getConnectionSettings().encoding).getStr());
} catch (const sql::SQLException &e) {
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}