summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-03-30 17:03:14 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-03-30 17:34:17 +0200
commit05322eb0ad1b1ff676e7f2e583d747079803e12a (patch)
treeada2d87a555dac897cf8d2ac540cd57d4050d80f /editeng
parentdo not just warn on allocation failure, simply abort (diff)
downloadcore-05322eb0ad1b1ff676e7f2e583d747079803e12a.tar.gz
core-05322eb0ad1b1ff676e7f2e583d747079803e12a.zip
const data
Especially given it's not namespaced (const is automatically static).
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editdoc.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 86a709bdc031..51f011266222 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -167,7 +167,7 @@ DBG_NAME( EE_EditLine );
DBG_NAME( EE_ContentNode );
DBG_NAME( EE_CharAttribList );
-SfxItemInfo aItemInfos[EDITITEMCOUNT] = {
+const SfxItemInfo aItemInfos[EDITITEMCOUNT] = {
{ SID_ATTR_FRAMEDIRECTION, SFX_ITEM_POOLABLE }, // EE_PARA_WRITINGDIR
{ 0, SFX_ITEM_POOLABLE }, // EE_PARA_XMLATTRIBS
{ SID_ATTR_PARA_HANGPUNCTUATION, SFX_ITEM_POOLABLE }, // EE_PARA_HANGINGPUNCTUATION
@@ -222,23 +222,23 @@ SfxItemInfo aItemInfos[EDITITEMCOUNT] = {
{ SID_FIELD, SFX_ITEM_POOLABLE }
};
-sal_uInt16 aV1Map[] = {
+const sal_uInt16 aV1Map[] = {
3999, 4001, 4002, 4003, 4004, 4005, 4006,
4007, 4008, 4009, 4010, 4011, 4012, 4013, 4017, 4018, 4019 // MI: 4019?
};
-sal_uInt16 aV2Map[] = {
+const sal_uInt16 aV2Map[] = {
3999, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 4009,
4010, 4011, 4012, 4013, 4014, 4015, 4016, 4018, 4019, 4020
};
-sal_uInt16 aV3Map[] = {
+const sal_uInt16 aV3Map[] = {
3997, 3998, 3999, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007,
4009, 4010, 4011, 4012, 4013, 4014, 4015, 4016, 4017, 4018, 4019,
4020, 4021
};
-sal_uInt16 aV4Map[] = {
+const sal_uInt16 aV4Map[] = {
3994, 3995, 3996, 3997, 3998, 3999, 4000, 4001, 4002, 4003,
4004, 4005, 4006, 4007, 4008, 4009, 4010, 4011, 4012, 4013,
4014, 4015, 4016, 4017, 4018,
@@ -246,7 +246,7 @@ sal_uInt16 aV4Map[] = {
4034, 4035, 4036, 4037
};
-sal_uInt16 aV5Map[] = {
+const sal_uInt16 aV5Map[] = {
3994, 3995, 3996, 3997, 3998, 3999, 4000, 4001, 4002, 4003,
4004, 4005, 4006, 4007, 4008, 4009, 4010, 4011, 4012, 4013,
4014, 4015, 4016, 4017, 4018, 4019, 4020, 4021, 4022, 4023,