summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-29 16:21:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-04 15:18:00 +0200
commit2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 (patch)
treee0a23d3da6fb17ae97d18957fc14f4a4a8de2d3f /shell
parenta3088b1e72ef17babe3d3664c610afd02cfe0891 (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 'shell')
-rw-r--r--shell/source/backends/desktopbe/desktopbackend.cxx2
-rw-r--r--shell/source/cmdmail/cmdmailsuppl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx
index 775659000cb8..069ff2805e7c 100644
--- a/shell/source/backends/desktopbe/desktopbackend.cxx
+++ b/shell/source/backends/desktopbe/desktopbackend.cxx
@@ -282,7 +282,7 @@ css::uno::Reference< css::uno::XInterface > createBackend(
throw;
} catch (const css::uno::Exception & e) {
// Assuming these exceptions indicate that the service is not installed:
- SAL_WARN("shell", "createInstance(" << name << ") failed with " << e.Message);
+ SAL_WARN("shell", "createInstance(" << name << ") failed with " << e);
return css::uno::Reference< css::uno::XInterface >();
}
}
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx
index 6a31af2fe52a..77285609648f 100644
--- a/shell/source/cmdmail/cmdmailsuppl.cxx
+++ b/shell/source/cmdmail/cmdmailsuppl.cxx
@@ -200,7 +200,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
catch(const RuntimeException &e )
{
m_xConfigurationProvider.clear();
- SAL_WARN("shell", "RuntimeException caught accessing configuration provider. " << e.Message );
+ SAL_WARN("shell", "RuntimeException caught accessing configuration provider. " << e );
throw;
}