| 609 | |
| 610 | |
| 611 | int ParseVersionFileName(wchar *Name,bool Truncate) |
| 612 | { |
| 613 | int Version=0; |
| 614 | wchar *VerText=wcsrchr(Name,';'); |
| 615 | if (VerText!=NULL) |
| 616 | { |
| 617 | Version=atoiw(VerText+1); |
| 618 | if (Truncate) |
| 619 | *VerText=0; |
| 620 | } |
| 621 | return Version; |
| 622 | } |
| 623 | |
| 624 | |
| 625 | #if !defined(SFX_MODULE) |
no test coverage detected