Lines 99-104
Link Here
|
99 |
rtl_TextEncoding eDestEnc ) |
99 |
rtl_TextEncoding eDestEnc ) |
100 |
{ |
100 |
{ |
101 |
const sal_Char* pStr = 0; |
101 |
const sal_Char* pStr = 0; |
|
|
102 |
|
103 |
if( eDestEnc == RTL_TEXTENCODING_ISO_8859_2 || eDestEnc == RTL_TEXTENCODING_MS_1250 || |
104 |
eDestEnc == RTL_TEXTENCODING_UTF8 ) |
105 |
{ |
106 |
// Don't handle the following characters for Easter European (ISO-8859-2). |
107 |
switch ( c ) |
108 |
{ |
109 |
case 164: // curren |
110 |
case 184: // ccedil |
111 |
case 193: // Aacute |
112 |
case 194: // Acirc |
113 |
case 196: // Auml |
114 |
case 199: // Ccedil |
115 |
case 201: // Eacute |
116 |
case 203: // Euml |
117 |
case 205: // Iacute |
118 |
case 206: // Icirc |
119 |
case 211: // Oacute |
120 |
case 212: // Ocirc |
121 |
case 214: // Ouml |
122 |
case 215: // times |
123 |
case 218: // Uacute |
124 |
case 220: // Uuml |
125 |
case 221: // Yacute |
126 |
case 225: // aacute |
127 |
case 226: // acirc |
128 |
case 228: // auml |
129 |
case 233: // eacute |
130 |
case 235: // euml |
131 |
case 237: // iacute |
132 |
case 238: // icirc |
133 |
case 243: // oacute |
134 |
case 244: // ocirc |
135 |
case 246: // ouml |
136 |
case 247: // divide |
137 |
case 250: // uacute |
138 |
case 252: // uuml |
139 |
case 253: // yacute |
140 |
case 352: // Scaron |
141 |
case 353: // scaron |
142 |
return pStr; |
143 |
} |
144 |
} |
145 |
|
102 |
switch( c ) |
146 |
switch( c ) |
103 |
{ |
147 |
{ |
104 |
// case '\x0a': return HTMLOutFuncs::Out_Tag( rStream, sHTML_linebreak ); |
148 |
// case '\x0a': return HTMLOutFuncs::Out_Tag( rStream, sHTML_linebreak ); |