diff options
Diffstat (limited to 'sc/source/filter/oox/excelfilter.cxx')
-rw-r--r-- | sc/source/filter/oox/excelfilter.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx index 2546bf98ba46..b3ec268b0db9 100644 --- a/sc/source/filter/oox/excelfilter.cxx +++ b/sc/source/filter/oox/excelfilter.cxx @@ -38,6 +38,7 @@ #include <svtools/sfxecode.hxx> #include <svtools/ehdl.hxx> #include <tools/urlobj.hxx> +#include <tools/diagnose_ex.h> namespace oox { namespace xls { @@ -94,9 +95,10 @@ bool ExcelFilter::importDocument() { importDocumentProperties(); } - catch( const Exception& e ) + catch( const Exception& ) { - SAL_WARN("sc", "exception when importing document properties " << e); + css::uno::Any ex( cppu::getCaughtException() ); + SAL_WARN("sc", "exception when importing document properties " << exceptionToString(ex)); } catch( ... ) { |