| 1196 | |
| 1197 | |
| 1198 | UINT Line::ConvertFileEncoding(ExprTokenType &aToken) |
| 1199 | { |
| 1200 | if (TokenIsNumeric(aToken)) |
| 1201 | { |
| 1202 | UINT cp = (UINT)TokenToInt64(aToken); |
| 1203 | return IsValidFileCodePage(cp) ? cp : -1; |
| 1204 | } |
| 1205 | return ConvertFileEncoding(TokenToString(aToken)); |
| 1206 | } |
| 1207 | |
| 1208 | |
| 1209 | // |
nothing calls this directly
no test coverage detected