diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-24 18:56:18 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-24 18:58:44 +0100 |
commit | c54534415dd71afffaff929617a4ddfcd599b152 (patch) | |
tree | 692bfbe29f6f1bbe5c49e324d03ff6ca5ce8c577 | |
parent | 144a8586b8a3cc16a00807f5968886e73c44c0d9 (diff) |
we need to catch the exception here, fdo#57451
Change-Id: I203aa640e7d4373f3a090a4988c28c6059b93064
-rw-r--r-- | sc/source/filter/oox/excelfilter.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx index 8320780867ec..fc9d3b5ce604 100644 --- a/sc/source/filter/oox/excelfilter.cxx +++ b/sc/source/filter/oox/excelfilter.cxx @@ -129,7 +129,14 @@ bool ExcelFilter::importDocument() throw() WorkbookGlobalsRef xBookGlob = WorkbookHelper::constructGlobals( *this ); if ( xBookGlob.get() && importFragment( new WorkbookFragment( *xBookGlob, aWorkbookPath ) ) ) { - importDocumentProperties(); + try + { + importDocumentProperties(); + } + catch( const Exception& e ) + { + SAL_WARN("sc", "exception when importing document properties " << e.Message); + } return true; } return false; |