diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-29 16:21:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 15:18:00 +0200 |
commit | 2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 (patch) | |
tree | e0a23d3da6fb17ae97d18957fc14f4a4a8de2d3f /sw/source/filter/xml/swxml.cxx | |
parent | a3088b1e72ef17babe3d3664c610afd02cfe0891 (diff) |
add << operator for css::uno::Exception
Change-Id: Ia23dafd07133779144965682df3b7125a3214235
Reviewed-on: https://gerrit.libreoffice.org/43046
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/filter/xml/swxml.cxx')
-rw-r--r-- | sw/source/filter/xml/swxml.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |