Catch exceptions when inserting doc
authorGabriel Burt <gabriel.burt@gmail.com>
Mon, 29 Mar 2010 23:52:44 +0000 (16:52 -0700)
committerGabriel Burt <gabriel.burt@gmail.com>
Mon, 29 Mar 2010 23:52:44 +0000 (16:52 -0700)
commit86e6e8687ca64c19b371090dc09d327131495904
tree0d2e988cece11480afd6bdf8a08442690eb53f25
parent4dbe8cbbc7308fca545641dacfc4cfda320d1e5e
Catch exceptions when inserting doc

If the file isn't a PDF file, or PDFSharp is unable to load it, we now
won't crash; instead we just warn the user.  Fixes bgo#614009
src/PdfMod/Gui/Actions.cs