diff options
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 2 | ||||
-rw-r--r-- | filter/source/config/cache/typedetection.cxx | 6 | ||||
-rw-r--r-- | filter/source/msfilter/eschesdo.cxx | 2 | ||||
-rw-r--r-- | filter/source/odfflatxml/OdfFlatXml.cxx | 4 | ||||
-rw-r--r-- | filter/source/pdf/impdialog.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/svgfilter.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/test/svg2odf.cxx | 2 | ||||
-rw-r--r-- | filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx | 4 | ||||
-rw-r--r-- | filter/source/xsltfilter/XSLTFilter.cxx | 4 |
9 files changed, 12 insertions, 16 deletions
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index 423a35c2e955..a844edeb132c 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -875,7 +875,7 @@ css::uno::Any FilterCache::impl_getDirectCFGValue(const OUString& sDirectKey) { throw; } catch(const css::uno::Exception& ex) { - SAL_WARN( "filter.config", ex.Message); + SAL_WARN( "filter.config", ex); aValue.clear(); } diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index d0c096ce28d8..3355618042c0 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -448,10 +448,8 @@ OUString SAL_CALL TypeDetection::queryTypeByDescriptor(css::uno::Sequence< css:: } catch(const css::uno::Exception& e) { - SAL_WARN( - "filter.config", - "caught Exception \"" << e.Message - << "\" while querying type of <" << sURL << ">"); + SAL_WARN("filter.config", "caught " << e + << " while querying type of " << sURL); sType.clear(); } diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx index fa10575b506c..9e9ed04dcc3e 100644 --- a/filter/source/msfilter/eschesdo.cxx +++ b/filter/source/msfilter/eschesdo.cxx @@ -1234,7 +1234,7 @@ sal_uInt32 ImplEESdrObject::ImplGetText() } catch (const uno::RuntimeException& e) { - SAL_WARN("filter.ms", "ImplGetText exception: " << e.Message); + SAL_WARN("filter.ms", "ImplGetText: " << e); } } return mnTextSize; diff --git a/filter/source/odfflatxml/OdfFlatXml.cxx b/filter/source/odfflatxml/OdfFlatXml.cxx index 685d6ebce9eb..381e8429e612 100644 --- a/filter/source/odfflatxml/OdfFlatXml.cxx +++ b/filter/source/odfflatxml/OdfFlatXml.cxx @@ -152,9 +152,7 @@ OdfFlatXml::importer( } catch (const Exception &exc) { - SAL_WARN( - "filter.odfflatxml", - "caught exception \"" << exc.Message << "\""); + SAL_WARN("filter.odfflatxml", exc); return false; } return true; diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 2655868a5645..67b195397e4e 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -1762,7 +1762,7 @@ IMPL_LINK_NOARG( ImpPDFTabSigningPage, ClickmaPbSignCertSelect, Button*, void ) } catch (const uno::Exception &e) { - SAL_INFO("filter.pdf", "TSAURLsDialog::TSAURLsDialog(): caught exception" << e.Message); + SAL_INFO("filter.pdf", "TSAURLsDialog::TSAURLsDialog(): " << e); } // If more than only the "None" entry is there, enable the ListBox diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx index 794fbd8ba502..cba3d3210ad9 100644 --- a/filter/source/svg/svgfilter.cxx +++ b/filter/source/svg/svgfilter.cxx @@ -374,7 +374,7 @@ OUString SAL_CALL SVGFilter::detect(Sequence<PropertyValue>& rDescriptor) return OUString(constFilterName); } } catch (css::io::IOException & e) { - SAL_WARN("filter.svg", "caught IOException " + e.Message); + SAL_WARN("filter.svg", "caught " << e); } return OUString(); } diff --git a/filter/source/svg/test/svg2odf.cxx b/filter/source/svg/test/svg2odf.cxx index d088d2552384..1f8f751d3751 100644 --- a/filter/source/svg/test/svg2odf.cxx +++ b/filter/source/svg/test/svg2odf.cxx @@ -120,7 +120,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) } catch (const uno::Exception& e) { - SAL_WARN("filter.svg", "Fatal exception: " << e.Message); + SAL_WARN("filter.svg", "Fatal exception: " << e); return 1; } catch (const std::exception &e) diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx index 03a3b2bc746b..892cb3989593 100644 --- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx +++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx @@ -161,7 +161,7 @@ bool SAL_CALL XmlFilterAdaptor::importImpl( const Sequence< css::beans::Property if (xStatusIndicator.is()) xStatusIndicator->end(); - SAL_WARN("filter.xmlfa", "XmlFilterAdaptor: exception: " << e.Message); + SAL_WARN("filter.xmlfa", "XmlFilterAdaptor: " << e); return false; } if (xStatusIndicator.is()) { @@ -272,7 +272,7 @@ bool SAL_CALL XmlFilterAdaptor::exportImpl( const Sequence< css::beans::Property } catch (const Exception& e) { - SAL_WARN("filter.xmlfa", "XmlFilterAdaptor: exception: " << e.Message); + SAL_WARN("filter.xmlfa", "XmlFilterAdaptor: " << e); if (xStatusIndicator.is()) xStatusIndicator->end(); return false; diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx index 5373db29aa73..20d552558c14 100644 --- a/filter/source/xsltfilter/XSLTFilter.cxx +++ b/filter/source/xsltfilter/XSLTFilter.cxx @@ -233,7 +233,7 @@ namespace XSLT Exception e; if (a >>= e) { - SAL_WARN("filter.xslt", "XSLTFilter::error was called: " << e.Message); + SAL_WARN("filter.xslt", "XSLTFilter::error was called: " << e); } m_bError = true; m_cTransformed.set(); @@ -402,7 +402,7 @@ namespace XSLT catch( const Exception& exc) { // something went wrong - SAL_WARN("filter.xslt", exc.Message); + SAL_WARN("filter.xslt", exc); return false; } } |