summaryrefslogtreecommitdiff
path: root/mysqlc/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-14 08:16:35 +0200
committerNoel Grandin <noel@peralex.com>2013-11-14 08:17:32 +0200
commitd366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch)
tree4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /mysqlc/source
parentd2fa59e4025050c9b668ecff379d668f0db52639 (diff)
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'mysqlc/source')
-rw-r--r--mysqlc/source/mysqlc_connection.cxx2
-rw-r--r--mysqlc/source/mysqlc_resultsetmetadata.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/mysqlc/source/mysqlc_connection.cxx b/mysqlc/source/mysqlc_connection.cxx
index ede0a638d26f..8816cb28f225 100644
--- a/mysqlc/source/mysqlc_connection.cxx
+++ b/mysqlc/source/mysqlc_connection.cxx
@@ -660,7 +660,7 @@ OUString OConnection::getMysqlVariable(const char *varname)
OUStringBuffer aStatement;
aStatement.appendAscii( "SHOW SESSION VARIABLES LIKE '" );
aStatement.appendAscii( varname );
- aStatement.append( sal_Unicode( '\'' ) );
+ aStatement.append( '\'' );
try {
XStatement * stmt = new OStatement(this, m_settings.cppConnection->createStatement());
diff --git a/mysqlc/source/mysqlc_resultsetmetadata.cxx b/mysqlc/source/mysqlc_resultsetmetadata.cxx
index 0d0c2732d210..036984290125 100644
--- a/mysqlc/source/mysqlc_resultsetmetadata.cxx
+++ b/mysqlc/source/mysqlc_resultsetmetadata.cxx
@@ -440,7 +440,7 @@ void OResultSetMetaData::checkColumnIndex(sal_Int32 columnIndex)
buf.append( sal_Int32( meta->getColumnCount() ) );
buf.appendAscii( ", got " );
buf.append( sal_Int32( columnIndex ) );
- buf.append( sal_Unicode( '.' ) );
+ buf.append( '.' );
throw SQLException( buf.makeStringAndClear(), *this, OUString(), 1, Any() );
}
}