diff options
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/docx/swdocxreader.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/rtf/swparrtf.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/writer/writer.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxexport.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/rtfsdrexport.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8toolbar.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/swxml.cxx | 10 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlfmt.cxx | 2 |
10 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/filter/docx/swdocxreader.cxx b/sw/source/filter/docx/swdocxreader.cxx index 5dcbb557c63d..60b028b8e608 100644 --- a/sw/source/filter/docx/swdocxreader.cxx +++ b/sw/source/filter/docx/swdocxreader.cxx @@ -84,7 +84,7 @@ ErrCode SwDOCXReader::Read(SwDoc& rDoc, const OUString& /* rBaseURL */, SwPaM& r } catch (uno::Exception const& e) { - SAL_WARN("sw.docx", "SwDOCXReader::Read(): exception: " << e.Message); + SAL_WARN("sw.docx", "SwDOCXReader::Read(): " << e); ret = ERR_SWG_READ_ERROR; } return ret; diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx index 2b8632fad14c..99fd13ab0a33 100644 --- a/sw/source/filter/rtf/swparrtf.cxx +++ b/sw/source/filter/rtf/swparrtf.cxx @@ -93,7 +93,7 @@ ErrCode SwRTFReader::Read(SwDoc& rDoc, const OUString& /*rBaseURL*/, SwPaM& rPam } catch (uno::Exception const& e) { - SAL_WARN("sw.rtf", "SwRTFReader::Read(): exception: " << e.Message); + SAL_WARN("sw.rtf", "SwRTFReader::Read(): " << e); ret = ERR_SWG_READ_ERROR; } diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index 50cd3a3812c4..bcd03f2b8db0 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -254,7 +254,7 @@ ErrCode Writer::Write( SwPaM& rPaM, SvStream& rStrm, const OUString* pFName ) } catch (const css::ucb::ContentCreationException &e) { - SAL_WARN("sw", "Writer::Write caught " << e.Message); + SAL_WARN("sw", "Writer::Write caught " << e); } return nResult; } diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx index c3df2b0cf18f..166c7c78c268 100644 --- a/sw/source/filter/ww8/docxexport.cxx +++ b/sw/source/filter/ww8/docxexport.cxx @@ -409,7 +409,7 @@ OString DocxExport::WriteOLEObject(SwOLEObj& rObject, OUString & io_rProgID) } catch (uno::Exception const& e) { - SAL_WARN("sw.ww8", "DocxExport::WriteOLEObject: exception: " << e.Message); + SAL_WARN("sw.ww8", "DocxExport::WriteOLEObject: " << e); return OString(); } diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index 383d598aa7a7..720a923f5861 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -1099,7 +1099,7 @@ void DocxSdrExport::writeDiagramRels(const uno::Sequence< uno::Sequence< uno::An } catch (const uno::Exception& rException) { - SAL_WARN("sw.ww8", "DocxSdrExport::writeDiagramRels Failed to copy grabbaged Image: " << rException.Message); + SAL_WARN("sw.ww8", "DocxSdrExport::writeDiagramRels Failed to copy grabbaged Image: " << rException); } dataImagebin->closeInput(); } diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index 9241b6fe529d..b8ca0b47bcb7 100644 --- a/sw/source/filter/ww8/rtfsdrexport.cxx +++ b/sw/source/filter/ww8/rtfsdrexport.cxx @@ -454,7 +454,7 @@ void RtfSdrExport::impl_writeGraphic() catch (beans::UnknownPropertyException& rException) { // ATM groupshapes are not supported, just make sure we don't crash on them. - SAL_WARN("sw.rtf", "failed. Message: " << rException.Message); + SAL_WARN("sw.rtf", "failed. Message: " << rException); return; } OString aURLBS(OUStringToOString(sGraphicURL, RTL_TEXTENCODING_UTF8)); diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index c63cb2502269..395a6cd57330 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -4930,7 +4930,7 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss) } catch (const uno::Exception& rException) { - SAL_WARN("sw.ww8", "SwWW8ImplReader::CoreLoad: failed to initialize RDF metadata: " << rException.Message); + SAL_WARN("sw.ww8", "SwWW8ImplReader::CoreLoad: failed to initialize RDF metadata: " << rException); } ReadDocInfo(); } diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx index 33a4547ae6ba..ecc5e6b66bc8 100644 --- a/sw/source/filter/ww8/ww8toolbar.cxx +++ b/sw/source/filter/ww8/ww8toolbar.cxx @@ -589,7 +589,7 @@ bool SwCTB::ImportCustomToolBar( SwCTBWrapper& rWrapper, CustomToolBarImportHelp } catch( const uno::Exception& e ) { - SAL_INFO("sw.ww8","***** For some reason we have an exception " << e.Message ); + SAL_INFO("sw.ww8","***** For some reason we have an " << e ); bRes = false; } return bRes; diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx index 515d3a6b2dfa..bd37e18b2634 100644 --- a/sw/source/filter/xml/swxml.cxx +++ b/sw/source/filter/xml/swxml.cxx @@ -196,7 +196,7 @@ ErrCode ReadThroughComponent( if( bEncrypted ) return ERRCODE_SFX_WRONGPASSWORD; - SAL_WARN( "sw", "SAX parse exception caught while importing: " << r.Message ); + SAL_WARN( "sw", "SAX parse exception caught while importing: " << r ); const OUString sErr( OUString::number( r.LineNumber ) + "," @@ -226,22 +226,22 @@ ErrCode ReadThroughComponent( if( bEncrypted ) return ERRCODE_SFX_WRONGPASSWORD; - SAL_WARN( "sw", "SAX exception caught while importing: " << r.Message); + SAL_WARN( "sw", "SAX exception caught while importing: " << r); return ERR_SWG_READ_ERROR; } catch(const packages::zip::ZipIOException& r) { - SAL_WARN( "sw", "Zip exception caught while importing: " << r.Message); + SAL_WARN( "sw", "Zip exception caught while importing: " << r); return ERRCODE_IO_BROKENPACKAGE; } catch(const io::IOException& r) { - SAL_WARN( "sw", "IO exception caught while importing: " << r.Message); + SAL_WARN( "sw", "IO exception caught while importing: " << r); return ERR_SWG_READ_ERROR; } catch(const uno::Exception& r) { - SAL_WARN( "sw", "uno exception caught while importing: " << r.Message ); + SAL_WARN( "sw", "uno exception caught while importing: " << r ); return ERR_SWG_READ_ERROR; } diff --git a/sw/source/filter/xml/xmlfmt.cxx b/sw/source/filter/xml/xmlfmt.cxx index 4b0af71ddf6b..7c129e072d52 100644 --- a/sw/source/filter/xml/xmlfmt.cxx +++ b/sw/source/filter/xml/xmlfmt.cxx @@ -343,7 +343,7 @@ SwXMLTextStyleContext_Impl::Finish( bool bOverwrite ) } catch (uno::Exception const& e) { - SAL_WARN("sw.xml", "exception when setting ParaStyleConditions: " << e.Message); + SAL_WARN("sw.xml", "exception when setting ParaStyleConditions: " << e); } } XMLTextStyleContext::Finish( bOverwrite ); |