summaryrefslogtreecommitdiff
path: root/stoc
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
parent43b989808142f49347929311347f9402f4c06368 (diff)
Mark as const
Change-Id: I65a05b59da6dbc2d37a55129c54ca0f322702364
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/bootstrap/services.cxx2
-rw-r--r--stoc/source/corereflection/crbase.cxx2
-rw-r--r--stoc/source/corereflection/crefl.cxx2
-rw-r--r--stoc/source/invocation/invocation.cxx2
-rw-r--r--stoc/source/invocation_adapterfactory/iafactory.cxx2
-rw-r--r--stoc/source/javaloader/javaloader.cxx2
-rw-r--r--stoc/source/namingservice/namingservice.cxx2
-rw-r--r--stoc/source/proxy_factory/proxyfac.cxx2
-rw-r--r--stoc/source/stocservices/stocservices.cxx2
9 files changed, 9 insertions, 9 deletions
diff --git a/stoc/source/bootstrap/services.cxx b/stoc/source/bootstrap/services.cxx
index e1295cb09f4d..7e81e13692ca 100644
--- a/stoc/source/bootstrap/services.cxx
+++ b/stoc/source/bootstrap/services.cxx
@@ -35,7 +35,7 @@ using namespace osl;
using namespace stoc_bootstrap;
-static struct ImplementationEntry g_entries[] =
+static const struct ImplementationEntry g_entries[] =
{
//servicemanager
{
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,
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index 13b9448dcc96..f6604f8befd9 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -1177,7 +1177,7 @@ Reference<XInterface> SAL_CALL InvocationService_CreateInstance( const Reference
}
using namespace stoc_inv;
-static struct ImplementationEntry g_entries[] =
+static const struct ImplementationEntry g_entries[] =
{
{
InvocationService_CreateInstance, inv_getImplementationName,
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index c430f348e81b..2d0c86239b6c 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -937,7 +937,7 @@ static Reference< XInterface > SAL_CALL FactoryImpl_create(
//##############################################################################
//##############################################################################
-static struct ::cppu::ImplementationEntry g_entries[] =
+static const struct ::cppu::ImplementationEntry g_entries[] =
{
{
::stoc_invadp::FactoryImpl_create,
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx
index d9590ef9f975..02c6eb11f8e9 100644
--- a/stoc/source/javaloader/javaloader.cxx
+++ b/stoc/source/javaloader/javaloader.cxx
@@ -416,7 +416,7 @@ css::uno::Reference<XInterface> SAL_CALL JavaComponentLoader_CreateInstance(cons
using namespace stoc_javaloader;
-static struct ImplementationEntry g_entries[] =
+static const struct ImplementationEntry g_entries[] =
{
{
JavaComponentLoader_CreateInstance, loader_getImplementationName,
diff --git a/stoc/source/namingservice/namingservice.cxx b/stoc/source/namingservice/namingservice.cxx
index d4473b32d921..139de3c273ae 100644
--- a/stoc/source/namingservice/namingservice.cxx
+++ b/stoc/source/namingservice/namingservice.cxx
@@ -177,7 +177,7 @@ void NamingService_Impl::revokeObject( const OUString& Name ) throw(Exception, R
}
using namespace stoc_namingservice;
-static struct ImplementationEntry g_entries[] =
+static const struct ImplementationEntry g_entries[] =
{
{
NamingService_Impl_create, ns_getImplementationName,
diff --git a/stoc/source/proxy_factory/proxyfac.cxx b/stoc/source/proxy_factory/proxyfac.cxx
index 2b5209675268..f06f5a1b58fa 100644
--- a/stoc/source/proxy_factory/proxyfac.cxx
+++ b/stoc/source/proxy_factory/proxyfac.cxx
@@ -481,7 +481,7 @@ static Reference< XInterface > SAL_CALL proxyfac_create(
return xRet;
}
-static ::cppu::ImplementationEntry g_entries [] =
+static const ::cppu::ImplementationEntry g_entries [] =
{
{
proxyfac_create, proxyfac_getImplementationName,
diff --git a/stoc/source/stocservices/stocservices.cxx b/stoc/source/stocservices/stocservices.cxx
index 3594b1b8051e..44fcc4e3255a 100644
--- a/stoc/source/stocservices/stocservices.cxx
+++ b/stoc/source/stocservices/stocservices.cxx
@@ -32,7 +32,7 @@ using namespace cppu;
using namespace osl;
using namespace stoc_services;
-static struct ImplementationEntry g_entries[] =
+static const struct ImplementationEntry g_entries[] =
{
// typeconv
{