diff options
Diffstat (limited to 'sc/source/filter/xml/xmlwrap.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlwrap.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx index 6e87a29d4f57..2b4560480499 100644 --- a/sc/source/filter/xml/xmlwrap.cxx +++ b/sc/source/filter/xml/xmlwrap.cxx @@ -211,7 +211,7 @@ ErrCode ScXMLImportWrapper::ImportFromComponent(const uno::Reference<uno::XCompo nReturn = ERRCODE_SFX_WRONGPASSWORD; else { - SAL_WARN("sc.filter", "SAX parse exception caught while importing: " << r.Message); + SAL_WARN("sc.filter", "SAX parse exception caught while importing: " << r); OUString sErr = OUString::number( r.LineNumber ) + "," + @@ -242,26 +242,26 @@ ErrCode ScXMLImportWrapper::ImportFromComponent(const uno::Reference<uno::XCompo nReturn = ERRCODE_SFX_WRONGPASSWORD; else { - SAL_WARN("sc.filter", "SAX exception caught while importing: " << r.Message); + SAL_WARN("sc.filter", "SAX exception caught while importing: " << r); nReturn = SCERR_IMPORT_FORMAT; } } catch( const packages::zip::ZipIOException& r ) { - SAL_WARN("sc.filter", "Zip exception caught while importing: " << r.Message); + SAL_WARN("sc.filter", "Zip exception caught while importing: " << r); nReturn = ERRCODE_IO_BROKENPACKAGE; } catch( const io::IOException& r ) { - SAL_WARN("sc.filter", "IO exception caught while importing: " << r.Message); + SAL_WARN("sc.filter", "IO exception caught while importing: " << r); nReturn = SCERR_IMPORT_OPEN; } catch( const uno::Exception& r ) { - SAL_WARN("sc.filter", "uno exception caught while importing: " << r.Message); + SAL_WARN("sc.filter", "uno exception caught while importing: " << r); nReturn = SCERR_IMPORT_UNKNOWN; } |