소스 검색

Bug fix: DocX.Load not throwing FileNotFoundException

master
coffeycathal_cp 16 년 전
부모
커밋
25e1463e2b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      DocX/DocX.cs

+ 1
- 1
DocX/DocX.cs 파일 보기

@@ -689,7 +689,7 @@ namespace Novacode
public static DocX Load(string filename)
{
if (!File.Exists(filename))
throw new FileNotFoundException(string.Format("File could not be found {0}"));
throw new FileNotFoundException(string.Format("File could not be found {0}", filename));
// Open the docx package
wdDoc = WordprocessingDocument.Open(filename, true);

Loading…
취소
저장