summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
Diffstat (limited to 'mysqlc')
-rw-r--r--mysqlc/source/mysqlc_databasemetadata.cxx4
-rw-r--r--mysqlc/source/mysqlc_preparedstatement.cxx2
-rw-r--r--mysqlc/source/mysqlc_resultset.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/mysqlc/source/mysqlc_databasemetadata.cxx b/mysqlc/source/mysqlc_databasemetadata.cxx
index 22e94a0a983e..45b49f9e4ec0 100644
--- a/mysqlc/source/mysqlc_databasemetadata.cxx
+++ b/mysqlc/source/mysqlc_databasemetadata.cxx
@@ -1118,7 +1118,7 @@ OUString SAL_CALL ODatabaseMetaData::getDriverName()
throw(SQLException, RuntimeException)
{
OSL_TRACE("ODatabaseMetaData::getDriverName");
- OUString aValue( RTL_CONSTASCII_USTRINGPARAM( "MySQL Connector/OO.org" ) );
+ OUString aValue( "MySQL Connector/OO.org" );
return aValue;
}
/* }}} */
@@ -1129,7 +1129,7 @@ OUString SAL_CALL ODatabaseMetaData::getDriverVersion()
throw(SQLException, RuntimeException)
{
OSL_TRACE("ODatabaseMetaData::getDriverVersion");
- static const OUString sVersion( RTL_CONSTASCII_USTRINGPARAM( "0.9.2" ) );
+ static const OUString sVersion( "0.9.2" );
return sVersion;
}
/* }}} */
diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx
index dc0ebc06facf..774ac5810067 100644
--- a/mysqlc/source/mysqlc_preparedstatement.cxx
+++ b/mysqlc/source/mysqlc_preparedstatement.cxx
@@ -921,7 +921,7 @@ void OPreparedStatement::checkParameterIndex(sal_Int32 column)
{
OSL_TRACE("OPreparedStatement::checkColumnIndex");
if (column < 1 || column > (sal_Int32) m_paramCount) {
- OUString buf( RTL_CONSTASCII_USTRINGPARAM( "Parameter index out of range" ) );
+ OUString buf( "Parameter index out of range" );
throw SQLException(buf, *this, OUString(), 1, Any ());
}
}
diff --git a/mysqlc/source/mysqlc_resultset.cxx b/mysqlc/source/mysqlc_resultset.cxx
index c428dd7ab2ca..5e5161e1fb5e 100644
--- a/mysqlc/source/mysqlc_resultset.cxx
+++ b/mysqlc/source/mysqlc_resultset.cxx
@@ -1487,7 +1487,7 @@ void OResultSet::checkColumnIndex(sal_Int32 index)
OSL_TRACE("OResultSet::checkColumnIndex");
if ((index < 1 || index > (int) fieldCount)) {
/* static object for efficiency or thread safety is a problem ? */
- OUString buf( RTL_CONSTASCII_USTRINGPARAM( "index out of range" ) );
+ OUString buf( "index out of range" );
throw SQLException(buf, *this, OUString(), 1, Any());
}
}