summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/odbc/appendsqlwchars.cxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-09-19 12:04:54 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-09-19 12:12:27 +0200
commitf3615c768c2d93b581eff7532c263a3905bb4785 (patch)
treecf22f4f6fb7f38c6909e60121a52e31405d37a83 /connectivity/source/drivers/odbc/appendsqlwchars.cxx
parent43ed0dbb596399a134c34a5d906c5debb349f640 (diff)
constify
Change-Id: If9866d25b228a5b84844943c17406c10f2c8515d
Diffstat (limited to 'connectivity/source/drivers/odbc/appendsqlwchars.cxx')
-rw-r--r--connectivity/source/drivers/odbc/appendsqlwchars.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/odbc/appendsqlwchars.cxx b/connectivity/source/drivers/odbc/appendsqlwchars.cxx
index 09f39e287b43..c083c6157948 100644
--- a/connectivity/source/drivers/odbc/appendsqlwchars.cxx
+++ b/connectivity/source/drivers/odbc/appendsqlwchars.cxx
@@ -17,14 +17,14 @@
namespace connectivity { namespace odbc {
-void appendSQLWCHARs(OUStringBuffer & s, sal_Unicode* d, sal_Int32 n)
+void appendSQLWCHARs(OUStringBuffer & s, const sal_Unicode* d, sal_Int32 n)
{
s.append(d, n);
}
#if defined SAL_UNICODE_NOTEQUAL_WCHAR_T
BOOST_STATIC_ASSERT(sizeof (wchar_t) == 4);
-void appendSQLWCHARs(OUStringBuffer & s, wchar_t* d, sal_Int32 n)
+void appendSQLWCHARs(OUStringBuffer & s, const wchar_t* d, sal_Int32 n)
{
for (sal_Int32 i = 0; i < n; ++i)
{