From c54534415dd71afffaff929617a4ddfcd599b152 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 24 Nov 2012 18:56:18 +0100 Subject: we need to catch the exception here, fdo#57451 Change-Id: I203aa640e7d4373f3a090a4988c28c6059b93064 --- sc/source/filter/oox/excelfilter.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sc') 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; -- cgit