diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-24 18:56:18 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-01-13 21:59:47 +0100 |
commit | 62950de8e1f168b531ebafa5e6a18ca72dba956b (patch) | |
tree | 749ce626d9163930420d541f2b49116b1f30928b | |
parent | 7108705874a3f445744c197ce5ee0412a3fe3977 (diff) |
we need to catch the exception here, fdo#57451
Change-Id: I203aa640e7d4373f3a090a4988c28c6059b93064
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
-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 84f933135b99..51f764e665fb 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; |