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

Mark as const

Change-Id: I220204cc5ebec15402ae175aef110abad8b00267
üst 32447330
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
namespace com { namespace sun { namespace star { namespace i18n { namespace com { namespace sun { namespace star { namespace i18n {
static sal_Int8 CaseMappingIndex[] = { static const sal_Int8 CaseMappingIndex[] = {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, -1, -1, // 0000 - 07ff 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, -1, -1, // 0000 - 07ff
-1, -1, -1, -1, -1, -1, -1, -1, // 0800 - 0fff -1, -1, -1, -1, -1, -1, -1, -1, // 0800 - 0fff
-1, -1, -1, -1, -1, -1, -1, -1, // 1000 - 17ff -1, -1, -1, -1, -1, -1, -1, -1, // 1000 - 17ff
...@@ -59,7 +59,7 @@ static sal_Int8 CaseMappingIndex[] = { ...@@ -59,7 +59,7 @@ static sal_Int8 CaseMappingIndex[] = {
}; };
static Value CaseMappingValue[] = { static const Value CaseMappingValue[] = {
{0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, // 0000 - 0007 {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, // 0000 - 0007
{0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, // 0008 - 000f {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, // 0008 - 000f
{0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, // 0010 - 0017 {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, // 0010 - 0017
......
...@@ -61,7 +61,7 @@ struct PageDesc ...@@ -61,7 +61,7 @@ struct PageDesc
//http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf //http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf
//http://www.y-adagio.com/public/committees/docsii/doc_00-49/symp_ulaan/china_ppr.pdf (Kai) //http://www.y-adagio.com/public/committees/docsii/doc_00-49/symp_ulaan/china_ppr.pdf (Kai)
//http://www.sls.psi.ch/controls/help/howto/Howto_Print_a_A0_Poster_at_WSLA_012_2.pdf (Dia) //http://www.sls.psi.ch/controls/help/howto/Howto_Print_a_A0_Poster_at_WSLA_012_2.pdf (Dia)
static PageDesc aDinTab[] = static const PageDesc aDinTab[] =
{ {
{ MM2MM100( 841 ), MM2MM100( 1189 ), "A0", NULL }, { MM2MM100( 841 ), MM2MM100( 1189 ), "A0", NULL },
{ MM2MM100( 594 ), MM2MM100( 841 ), "A1", NULL }, { MM2MM100( 594 ), MM2MM100( 841 ), "A1", NULL },
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#define UnicodeTypeNumberBlock 5 #define UnicodeTypeNumberBlock 5
static sal_Int8 UnicodeTypeIndex[] = { static const sal_Int8 UnicodeTypeIndex[] = {
0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, // 0000 - 07ff 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, // 0000 - 07ff
0x00, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, // 0800 - 0fff 0x00, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, // 0800 - 0fff
0x14, 0x15, 0x16, 0x17, 0x18, 0x01, 0x19, 0x1a, // 1000 - 17ff 0x14, 0x15, 0x16, 0x17, 0x18, 0x01, 0x19, 0x1a, // 1000 - 17ff
...@@ -61,12 +61,12 @@ static sal_Int8 UnicodeTypeIndex[] = { ...@@ -61,12 +61,12 @@ static sal_Int8 UnicodeTypeIndex[] = {
}; };
static sal_Int8 UnicodeTypeBlockValue[] = { static const sal_Int8 UnicodeTypeBlockValue[] = {
0, 5, 17, 18, 27, 0, 5, 17, 18, 27,
}; };
static sal_Int8 UnicodeTypeValue[] = { static const sal_Int8 UnicodeTypeValue[] = {
15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,// 0000 - 000f 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,// 0000 - 000f
15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,// 0010 - 001f 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,// 0010 - 001f
12,23,23,23,25,23,23,23,20,21,23,24,23,19,23,23,// 0020 - 002f 12,23,23,23,25,23,23,23,20,21,23,24,23,19,23,23,// 0020 - 002f
...@@ -905,7 +905,7 @@ static sal_Int8 UnicodeTypeValue[] = { ...@@ -905,7 +905,7 @@ static sal_Int8 UnicodeTypeValue[] = {
#define UnicodeDirectionNumberBlock 3 #define UnicodeDirectionNumberBlock 3
static sal_Int8 UnicodeDirectionIndex[] = { static const sal_Int8 UnicodeDirectionIndex[] = {
0x03, 0x00, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, // 0000 - 07ff 0x03, 0x00, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, // 0000 - 07ff
0x00, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, // 0800 - 0fff 0x00, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, // 0800 - 0fff
0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x13, // 1000 - 17ff 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x13, // 1000 - 17ff
...@@ -941,12 +941,12 @@ static sal_Int8 UnicodeDirectionIndex[] = { ...@@ -941,12 +941,12 @@ static sal_Int8 UnicodeDirectionIndex[] = {
}; };
static sal_Int8 UnicodeDirectionBlockValue[] = { static const sal_Int8 UnicodeDirectionBlockValue[] = {
0, 10, 13, 0, 10, 13,
}; };
static sal_Int8 UnicodeDirectionValue[] = { static const sal_Int8 UnicodeDirectionValue[] = {
18,18,18,18,18,18,18,18,18, 8, 7, 8, 9, 7,18,18,// 0000 - 000f 18,18,18,18,18,18,18,18,18, 8, 7, 8, 9, 7,18,18,// 0000 - 000f
18,18,18,18,18,18,18,18,18,18,18,18, 7, 7, 7, 8,// 0010 - 001f 18,18,18,18,18,18,18,18,18,18,18,18, 7, 7, 7, 8,// 0010 - 001f
9,10,10, 4, 4, 4,10,10,10,10,10, 4, 6, 4, 6, 3,// 0020 - 002f 9,10,10, 4, 4, 4,10,10,10,10,10, 4, 6, 4, 6, 3,// 0020 - 002f
...@@ -1548,7 +1548,7 @@ static sal_Int8 UnicodeDirectionValue[] = { ...@@ -1548,7 +1548,7 @@ static sal_Int8 UnicodeDirectionValue[] = {
#define UnicodeScriptTypeFrom 0 #define UnicodeScriptTypeFrom 0
#define UnicodeScriptTypeTo 1 #define UnicodeScriptTypeTo 1
static sal_Unicode UnicodeScriptType[][2] = { static const sal_Unicode UnicodeScriptType[][2] = {
{0x0000, 0x007f}, // 0. Basic Latin {0x0000, 0x007f}, // 0. Basic Latin
{0x0080, 0x00ff}, // 1. Latin-1 Supplement {0x0080, 0x00ff}, // 1. Latin-1 Supplement
{0x0100, 0x017f}, // 2. Latin Extended-A {0x0100, 0x017f}, // 2. Latin Extended-A
......
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