summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/excelfilter.cxx9
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;