Kaydet (Commit) 3aea6c12 authored tarafından Takeshi Abe's avatar Takeshi Abe

Mark as const

Change-Id: I7ad2a1bd29afbf4813b1ad984081935ca84ec98a
üst 08157e4b
......@@ -27,7 +27,7 @@
#include "ShapeToolbarController.hxx"
#include <cppuhelper/implementationentry.hxx>
static struct ::cppu::ImplementationEntry g_entries_chart2_controller[] =
static const struct ::cppu::ImplementationEntry g_entries_chart2_controller[] =
{
{
::chart::ChartController::create
......
......@@ -24,7 +24,7 @@
class ChartTypeEntriesForServiceRegistration
{
public:
static struct ::cppu::ImplementationEntry*
static const struct ::cppu::ImplementationEntry*
getImplementationEntries();
};
......
......@@ -36,7 +36,7 @@
#include "_serviceregistration_charttypes.hxx"
static struct ::cppu::ImplementationEntry g_entries_chart2_model[] =
static const struct ::cppu::ImplementationEntry g_entries_chart2_model[] =
{
{
::chart::ChartModel::create
......
......@@ -32,7 +32,7 @@
namespace
{
static struct ::cppu::ImplementationEntry g_entries_chart2_charttypes[] =
static const struct ::cppu::ImplementationEntry g_entries_chart2_charttypes[] =
{
{
::chart::AreaChartType::create
......@@ -119,7 +119,7 @@ static struct ::cppu::ImplementationEntry g_entries_chart2_charttypes[] =
} // anonymous namespace
struct ::cppu::ImplementationEntry *
const struct ::cppu::ImplementationEntry *
ChartTypeEntriesForServiceRegistration::getImplementationEntries()
{
return g_entries_chart2_charttypes;
......
......@@ -29,7 +29,7 @@
#include "InternalDataProvider.hxx"
#include "charttoolsdllapi.hxx"
static struct ::cppu::ImplementationEntry g_entries_chart2_tools[] =
static const struct ::cppu::ImplementationEntry g_entries_chart2_tools[] =
{
{
::chart::LabeledDataSequence::create
......
......@@ -21,7 +21,7 @@
#include "ChartView.hxx"
static struct ::cppu::ImplementationEntry g_entries_chart2_view[] =
static const struct ::cppu::ImplementationEntry g_entries_chart2_view[] =
{
{
::chart::ChartView::create
......
......@@ -41,7 +41,7 @@ struct ApiMap
SymbolFunc *ref_value;
};
static ApiMap aCommonApiMap[] =
static const ApiMap aCommonApiMap[] =
{
SYM_MAP( eds_check_version ),
SYM_MAP( e_contact_field_name ),
......@@ -64,7 +64,7 @@ static ApiMap aCommonApiMap[] =
};
//< 3.6 api
static ApiMap aOldApiMap[] =
static const ApiMap aOldApiMap[] =
{
SYM_MAP( e_book_get_addressbooks ),
SYM_MAP( e_book_get_uri ),
......@@ -77,7 +77,7 @@ static ApiMap aOldApiMap[] =
};
//>= 3.6 api
static ApiMap aNewApiMap[] =
static const ApiMap aNewApiMap[] =
{
SYM_MAP( e_source_registry_list_sources ),
SYM_MAP( e_source_registry_new_sync ),
......@@ -94,13 +94,13 @@ static ApiMap aNewApiMap[] =
};
//== indirect read access (3.6 only)
static ApiMap aClientApiMap36[] =
static const ApiMap aClientApiMap36[] =
{
SYM_MAP( e_book_client_new )
};
//>= direct read access API (>= 3.8)
static ApiMap aClientApiMap38[] =
static const ApiMap aClientApiMap38[] =
{
SYM_MAP( e_book_client_connect_direct_sync )
};
......
......@@ -732,7 +732,7 @@ void log( ConnectionSettings *settings, sal_Int32 level, const char *str )
static struct cppu::ImplementationEntry g_entries[] =
static const struct cppu::ImplementationEntry g_entries[] =
{
{
pq_sdbc_driver::ConnectionCreateInstance, pq_sdbc_driver::ConnectionGetImplementationName,
......
......@@ -304,7 +304,7 @@ void OOneInstanceComponentFactory::disposing()
}
static struct cppu::ImplementationEntry g_entries[] =
static const struct cppu::ImplementationEntry g_entries[] =
{
{
pq_sdbc_driver::DriverCreateInstance, pq_sdbc_driver::DriverGetImplementationName,
......
......@@ -2544,7 +2544,7 @@ extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_setCacheSize( sal_Int32 nNewSize
}
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 },
......
......@@ -189,7 +189,7 @@ static Reference< XInterface > SAL_CALL ServiceImpl1_create(
} // namespace cfg_test
static struct ImplementationEntry g_entries[] =
static const struct ImplementationEntry g_entries[] =
{
{
::cfg_test::ServiceImpl0_create, ::cfg_test::impl0_getImplementationName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment