Explorar el Código

Bug fix: DocX.Load not throwing FileNotFoundException

master
coffeycathal_cp hace 16 años
padre
commit
25e1463e2b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      DocX/DocX.cs

+ 1
- 1
DocX/DocX.cs Ver fichero

@@ -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);

Cargando…
Cancelar
Guardar