1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0025765: Coding rules - clean up code from obsolete macro checks

Unused code paths (including definition of these macros and meaningless comments) were eliminated.
This commit is contained in:
apn
2015-02-24 19:27:20 +03:00
committed by bugmaster
parent f1b0b4f9c6
commit d2094e110f
130 changed files with 11 additions and 1775 deletions

View File

@@ -14,16 +14,6 @@
commercial license or contractual agreement.
*/
#define CTS17340 /*GG_230797
changer la definition sjis des caracteres
" (FF02) -> sjis A1ED
' (FF07) -> sjis A1EC
- (FF0D) -> sjis A1DD
\ (FF3C) -> sjis A1A1 (sans equivalent -> blank)
~ (FF5E) -> sjis 223D
(FF5F) -> sjis A1A1 (sans equivalent -> blank)
*/
static char16 unisjis [65536] = {
0x0 , 0x0 , 0x0 , 0x0 ,
0x0 , 0x0 , 0x0 , 0x0 ,
@@ -16345,19 +16335,10 @@ static char16 unisjis [65536] = {
0x0 , 0x0 , 0x0 , 0x0 ,
0x0 , 0x0 , 0x0 , 0x0 ,
0x0 , 0x0 , 0x0 , 0x0 ,
#ifdef CTS17340
0x0 , 0x8149 , 0xa1ed , 0x8194 ,
0x8190 , 0x8193 , 0x8195 , 0xa1ec ,
#else
0x0 , 0x8149 , 0x0 , 0x8194 ,
0x8190 , 0x8193 , 0x8195 , 0x0 ,
#endif
0x8169 , 0x816a , 0x8196 , 0x817b ,
#ifdef CTS17340
0x8143 , 0xa1dd , 0x8144 , 0x815e ,
#else
0x8143 , 0x0 , 0x8144 , 0x815e ,
#endif
0x824f , 0x8250 , 0x8251 , 0x8252 ,
0x8253 , 0x8254 , 0x8255 , 0x8256 ,
0x8257 , 0x8258 , 0x8146 , 0x8147 ,
@@ -16369,11 +16350,7 @@ static char16 unisjis [65536] = {
0x826f , 0x8270 , 0x8271 , 0x8272 ,
0x8273 , 0x8274 , 0x8275 , 0x8276 ,
0x8277 , 0x8278 , 0x8279 , 0x816d ,
#ifdef CTS17340
0xa1a1 , 0x816e , 0x814f , 0x8151 ,
#else
0x0 , 0x816e , 0x814f , 0x8151 ,
#endif
0x814d , 0x8281 , 0x8282 , 0x8283 ,
0x8284 , 0x8285 , 0x8286 , 0x8287 ,
0x8288 , 0x8289 , 0x828a , 0x828b ,
@@ -16381,11 +16358,7 @@ static char16 unisjis [65536] = {
0x8290 , 0x8291 , 0x8292 , 0x8293 ,
0x8294 , 0x8295 , 0x8296 , 0x8297 ,
0x8298 , 0x8299 , 0x829a , 0x816f ,
#ifdef CTS17340
0x8162 , 0x8170 , 0x223d , 0xa1a1 ,
#else
0x8162 , 0x8170 , 0x0 , 0x0 ,
#endif
0x0 , 0xa1 , 0xa2 , 0xa3 ,
0xa4 , 0xa5 , 0xa6 , 0xa7 ,
0xa8 , 0xa9 , 0xaa , 0xab ,