| 1716 | //========================================================================= |
| 1717 | |
| 1718 | void OpenInputFile(std::ifstream& in, const TSTRING& strFile) // throw( eTextReportViewer ) |
| 1719 | { |
| 1720 | in.open(cStringUtil::TstrToStr(strFile).c_str()); |
| 1721 | |
| 1722 | if (!in.is_open()) |
| 1723 | { |
| 1724 | throw eTextReportViewerFileOpen(strFile); |
| 1725 | } |
| 1726 | } |
| 1727 | |
| 1728 | void OpenOutputFile(fixed_basic_ofstream<TCHAR>& out, const TSTRING& strFile) // throw( eTextReportViewer ) |
| 1729 | { |