summaryrefslogtreecommitdiff
path: root/sd/source/ui/controller
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 /sd/source/ui/controller
parent88960707cc891a5bfc260ce7568a75c1c8419f73 (diff)
Mark as const
Change-Id: Ic81dd60fadecf72f25792903985f2b387df7a7a0
Diffstat (limited to 'sd/source/ui/controller')
-rw-r--r--sd/source/ui/controller/slidelayoutcontroller.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx
index 38626bbce054..8a3fd5e5f3de 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.cxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.cxx
@@ -97,13 +97,13 @@ struct snewfoil_value_info
AutoLayout maAutoLayout;
};
-static snewfoil_value_info notes[] =
+static const snewfoil_value_info notes[] =
{
{BMP_FOILN_01, STR_AUTOLAYOUT_NOTES, WritingMode_LR_TB, AUTOLAYOUT_NOTES},
{0, 0, WritingMode_LR_TB, AUTOLAYOUT_NONE},
};
-static snewfoil_value_info handout[] =
+static const snewfoil_value_info handout[] =
{
{BMP_FOILH_01, STR_AUTOLAYOUT_HANDOUT1, WritingMode_LR_TB, AUTOLAYOUT_HANDOUT1},
{BMP_FOILH_02, STR_AUTOLAYOUT_HANDOUT2, WritingMode_LR_TB, AUTOLAYOUT_HANDOUT2},
@@ -114,7 +114,7 @@ static snewfoil_value_info handout[] =
{0, 0, WritingMode_LR_TB, AUTOLAYOUT_NONE},
};
-static snewfoil_value_info standard[] =
+static const snewfoil_value_info standard[] =
{
{BMP_LAYOUT_EMPTY, STR_AUTOLAYOUT_NONE, WritingMode_LR_TB, AUTOLAYOUT_NONE },
{BMP_LAYOUT_HEAD03, STR_AUTOLAYOUT_TITLE, WritingMode_LR_TB, AUTOLAYOUT_TITLE },
@@ -131,7 +131,7 @@ static snewfoil_value_info standard[] =
{0, 0, WritingMode_LR_TB, AUTOLAYOUT_NONE}
};
-static snewfoil_value_info v_standard[] =
+static const snewfoil_value_info v_standard[] =
{
// vertical
{BMP_LAYOUT_VERTICAL02, STR_AL_VERT_TITLE_TEXT_CHART, WritingMode_TB_RL, AUTOLAYOUT_VERTICAL_TITLE_TEXT_CHART },
@@ -143,7 +143,7 @@ static snewfoil_value_info v_standard[] =
// -----------------------------------------------------------------------
-static void fillLayoutValueSet( ValueSet* pValue, snewfoil_value_info* pInfo )
+static void fillLayoutValueSet( ValueSet* pValue, const snewfoil_value_info* pInfo )
{
Size aLayoutItemSize;
for( ; pInfo->mnBmpResId; pInfo++ )
@@ -198,7 +198,7 @@ LayoutToolbarMenu::LayoutToolbarMenu( SlideLayoutController& rController, const
mpLayoutSet1 = createEmptyValueSetControl();
mpLayoutSet1->SetSelectHdl( LINK( this, LayoutToolbarMenu, SelectHdl ) );
- snewfoil_value_info* pInfo = 0;
+ const snewfoil_value_info* pInfo = 0;
sal_Int16 nColCount = 4;
switch( eMode )
{