| 503 | |
| 504 | #ifndef SFX_MODULE |
| 505 | wchar* wcsupper(wchar *s) |
| 506 | { |
| 507 | #ifdef _WIN_ALL |
| 508 | // _wcsupr requires setlocale and we do not want to depend on setlocale |
| 509 | // in Windows. Also CharUpper involves less overhead. |
| 510 | CharUpper(s); |
| 511 | #else |
| 512 | for (wchar *c=s;*c!=0;c++) |
| 513 | *c=towupper(*c); |
| 514 | #endif |
| 515 | return s; |
| 516 | } |
| 517 | #endif |
| 518 | |
| 519 |
no outgoing calls
no test coverage detected