summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-08-19 07:45:55 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-08-19 07:47:34 +0900
commitf4004429d339009bec6babe30becdc9c727940b8 (patch)
treed55920c147eb53b758cd4b56b6851580148a3edb /scripting
parent88960707cc891a5bfc260ce7568a75c1c8419f73 (diff)
Mark as const
Change-Id: Ic81dd60fadecf72f25792903985f2b387df7a7a0
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx2
-rw-r--r--scripting/source/stringresource/stringresource.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index f7dca4dd6172..cb3783f0eb4d 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -903,7 +903,7 @@ OUString urihelper_getImplementationName( )
"com.sun.star.script.provider.ScriptURIHelper");
}
-static struct cppu::ImplementationEntry s_entries [] =
+static const struct cppu::ImplementationEntry s_entries [] =
{
{
sp_create, sp_getImplementationName,
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index 253d77bc1684..33a2e30f4c28 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -2986,7 +2986,7 @@ const Reference< ucb::XSimpleFileAccess3 > StringResourceWithLocationImpl::getFi
// component export operations
// =============================================================================
-static struct ::cppu::ImplementationEntry s_component_entries [] =
+static const struct ::cppu::ImplementationEntry s_component_entries [] =
{
{
create_StringResourceImpl, getImplementationName_StringResourceImpl,