summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-24 18:56:18 +0100
committerPetr Mladek <pmladek@suse.cz>2012-12-21 16:29:06 +0100
commit97ccd34a77d7461bf91d1908f77d6aeb8143f32d (patch)
tree5d5dcafda763cb290310f049d814e36bae687c41 /sc
parentaea98fa5e3dacd34575b17eeb46692491e35116a (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.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 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;