summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-08-22 13:59:45 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-08-22 14:02:31 +0900
commit98e20a37badecd868460ddbdc73262c494242b42 (patch)
treebafe144a009f40ca847cfbfbfd7c6c31812e0525 /stoc/source/corereflection
parent43b989808142f49347929311347f9402f4c06368 (diff)
Mark as const
Change-Id: I65a05b59da6dbc2d37a55129c54ca0f322702364
Diffstat (limited to 'stoc/source/corereflection')
-rw-r--r--stoc/source/corereflection/crbase.cxx2
-rw-r--r--stoc/source/corereflection/crefl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/corereflection/crbase.cxx b/stoc/source/corereflection/crbase.cxx
index 8d91b6ede26a..b598a0f488e4 100644
--- a/stoc/source/corereflection/crbase.cxx
+++ b/stoc/source/corereflection/crbase.cxx
@@ -105,7 +105,7 @@ sal_Bool IdlClassImpl::equals( const Reference< XIdlClass >& xType )
(xType->getTypeClass() == _eTypeClass) && (xType->getName() == _aName));
}
-static sal_Bool s_aAssignableFromTab[11][11] =
+static const sal_Bool s_aAssignableFromTab[11][11] =
{
/* from CH,BO,BY,SH,US,LO,UL,HY,UH,FL,DO */
/* TypeClass_CHAR */ { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index 866c78ae0d4a..a5eb2d3f83b7 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -445,7 +445,7 @@ Reference< XInterface > SAL_CALL IdlReflectionServiceImpl_create(
using namespace stoc_corefl;
-static struct ImplementationEntry g_entries[] =
+static const struct ImplementationEntry g_entries[] =
{
{
IdlReflectionServiceImpl_create, core_getImplementationName,