summaryrefslogtreecommitdiff
path: root/jvmfwk/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-07-29 17:38:09 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-07-29 17:39:30 +0900
commit57931a7cf76a6f5b323e178d3cade25d98e12096 (patch)
treee2ef8f2fbd1de13b93388f8746238a4278706bc0 /jvmfwk/source
parent40c5338fdd817878d9dd6240f7f3629b413120a5 (diff)
Mark as const
Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
Diffstat (limited to 'jvmfwk/source')
-rw-r--r--jvmfwk/source/fwkutil.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx
index 36007eda93fd..299869526d09 100644
--- a/jvmfwk/source/fwkutil.cxx
+++ b/jvmfwk/source/fwkutil.cxx
@@ -123,7 +123,7 @@ bool isAccessibilitySupportDesired()
rtl::ByteSequence encodeBase16(const rtl::ByteSequence& rawData)
{
- static char EncodingTable[] =
+ static const char EncodingTable[] =
{'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
sal_Int32 lenRaw = rawData.getLength();
char* pBuf = new char[lenRaw * 2];
@@ -152,7 +152,7 @@ rtl::ByteSequence encodeBase16(const rtl::ByteSequence& rawData)
rtl::ByteSequence decodeBase16(const rtl::ByteSequence& data)
{
- static char decodingTable[] =
+ static const char decodingTable[] =
{'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
sal_Int32 lenData = data.getLength();
sal_Int32 lenBuf = lenData / 2; //always divisable by two