diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-24 18:56:18 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-24 23:56:08 +0000 |
commit | 4ce8d87c349ad821dec2edb8e4eca5b268b762a9 (patch) | |
tree | b17132bfc23a620abfa745ff4c59b6c882aaef17 /sc | |
parent | d99c7edff18fb84312928589d3639d0005c23bbe (diff) |
we need to catch the exception here, fdo#57451
Change-Id: I203aa640e7d4373f3a090a4988c28c6059b93064
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'sc')
-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; |