summaryrefslogtreecommitdiff
path: root/connectivity
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
parent43ed0dbb596399a134c34a5d906c5debb349f640 (diff)
constify
Change-Id: If9866d25b228a5b84844943c17406c10f2c8515d
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/odbc/appendsqlwchars.cxx4
-rw-r--r--connectivity/source/drivers/odbc/appendsqlwchars.hxx4
2 files changed, 4 insertions, 4 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)
{
diff --git a/connectivity/source/drivers/odbc/appendsqlwchars.hxx b/connectivity/source/drivers/odbc/appendsqlwchars.hxx
index 1c31c722ba1a..b1424d1643a5 100644
--- a/connectivity/source/drivers/odbc/appendsqlwchars.hxx
+++ b/connectivity/source/drivers/odbc/appendsqlwchars.hxx
@@ -17,10 +17,10 @@
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);
#if defined SAL_UNICODE_NOTEQUAL_WCHAR_T
-void appendSQLWCHARs(OUStringBuffer & s, wchar_t* d, sal_Int32 n);
+void appendSQLWCHARs(OUStringBuffer & s, const wchar_t* d, sal_Int32 n);
#endif
} }