diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-08-02 10:34:11 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-08-02 10:34:43 +0900 |
commit | 3aea6c121d3b962d8efafe9b15d35a0f93ddceb3 (patch) | |
tree | 50931e45d7b604760fc36c7fc79a650666cfa7e7 /chart2 | |
parent | Add saving state for ComputerConnectionFragment. (diff) | |
download | core-3aea6c121d3b962d8efafe9b15d35a0f93ddceb3.tar.gz core-3aea6c121d3b962d8efafe9b15d35a0f93ddceb3.zip |
Mark as const
Change-Id: I7ad2a1bd29afbf4813b1ad984081935ca84ec98a
Diffstat (limited to 'chart2')
6 files changed, 7 insertions, 7 deletions
diff --git a/chart2/source/controller/main/_serviceregistration_controller.cxx b/chart2/source/controller/main/_serviceregistration_controller.cxx index f2000b02ce40..330c05121d49 100644 --- a/chart2/source/controller/main/_serviceregistration_controller.cxx +++ b/chart2/source/controller/main/_serviceregistration_controller.cxx @@ -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 diff --git a/chart2/source/model/inc/_serviceregistration_charttypes.hxx b/chart2/source/model/inc/_serviceregistration_charttypes.hxx index 6641fabd1778..485183806af5 100644 --- a/chart2/source/model/inc/_serviceregistration_charttypes.hxx +++ b/chart2/source/model/inc/_serviceregistration_charttypes.hxx @@ -24,7 +24,7 @@ class ChartTypeEntriesForServiceRegistration { public: - static struct ::cppu::ImplementationEntry* + static const struct ::cppu::ImplementationEntry* getImplementationEntries(); }; diff --git a/chart2/source/model/main/_serviceregistration_model.cxx b/chart2/source/model/main/_serviceregistration_model.cxx index 30873a49fc26..95e4d4a3b689 100644 --- a/chart2/source/model/main/_serviceregistration_model.cxx +++ b/chart2/source/model/main/_serviceregistration_model.cxx @@ -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 diff --git a/chart2/source/model/template/_serviceregistration_charttypes.cxx b/chart2/source/model/template/_serviceregistration_charttypes.cxx index 4d9854d1abe3..299f1623136b 100644 --- a/chart2/source/model/template/_serviceregistration_charttypes.cxx +++ b/chart2/source/model/template/_serviceregistration_charttypes.cxx @@ -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; diff --git a/chart2/source/tools/_serviceregistration_tools.cxx b/chart2/source/tools/_serviceregistration_tools.cxx index 42c38d6495b3..7870ad03aadc 100644 --- a/chart2/source/tools/_serviceregistration_tools.cxx +++ b/chart2/source/tools/_serviceregistration_tools.cxx @@ -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 diff --git a/chart2/source/view/main/_serviceregistration_view.cxx b/chart2/source/view/main/_serviceregistration_view.cxx index e15fedb747fc..472666e6b350 100644 --- a/chart2/source/view/main/_serviceregistration_view.cxx +++ b/chart2/source/view/main/_serviceregistration_view.cxx @@ -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 |