summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
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 'extensions')
-rw-r--r--extensions/source/bibliography/datman.cxx4
-rw-r--r--extensions/source/config/ldap/ldapuserprofilebe.cxx2
-rw-r--r--extensions/source/update/check/updatecheck.cxx4
-rw-r--r--extensions/source/update/check/updatecheckjob.cxx4
-rw-r--r--extensions/source/update/feed/test/updatefeedtest.cxx2
5 files changed, 8 insertions, 8 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index 161b24048040..9e2dd31805e8 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -179,7 +179,7 @@ Reference< XNameAccess > getColumns(const Reference< XForm > & _rxForm)
}
catch (const Exception& e)
{
- SAL_WARN( "extensions.biblio", "::getColumns : caught an exception. " << e.Message);
+ SAL_WARN( "extensions.biblio", "::getColumns : caught an exception. " << e);
}
}
@@ -497,7 +497,7 @@ DBChangeDialog_Impl::DBChangeDialog_Impl(vcl::Window* pParent, BibDataManager* p
{
SAL_WARN("extensions.biblio",
"Exception in BibDataManager::DBChangeDialog_Impl::DBChangeDialog_Impl "
- << e.Message);
+ << e);
}
}
diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx
index 10f7ae002c47..a9ce79ebefce 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.cxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx
@@ -140,7 +140,7 @@ bool LdapUserProfileBe::readLdapConfiguration(
}
catch (const uno::Exception & e)
{
- SAL_WARN("extensions.config", "LdapUserProfileBackend: access to configuration data failed: " << e.Message);
+ SAL_WARN("extensions.config", "LdapUserProfileBackend: access to configuration data failed: " << e);
return false;
}
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index e6d6a2cd0463..817fc5ac8175 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -534,7 +534,7 @@ UpdateCheckThread::run()
catch(const uno::Exception& e) {
// Silently catch all errors
- SAL_WARN("extensions.update", "Caught exception, thread terminated. " << e.Message );
+ SAL_WARN("extensions.update", "Caught exception, thread terminated. " << e );
}
}
@@ -549,7 +549,7 @@ ManualUpdateCheckThread::run()
}
catch(const uno::Exception& e) {
// Silently catch all errors
- SAL_WARN("extensions.update", "Caught exception, thread terminated. " << e.Message );
+ SAL_WARN("extensions.update", "Caught exception, thread terminated. " << e );
}
}
diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx
index b4885c83ae9a..2bbdf182f631 100644
--- a/extensions/source/update/check/updatecheckjob.cxx
+++ b/extensions/source/update/check/updatecheckjob.cxx
@@ -133,7 +133,7 @@ void SAL_CALL InitUpdateCheckJobThread::run()
aController->showDialog( true );
} catch (const uno::Exception &e) {
// fdo#64962 - don't bring the app down on some unexpected exception.
- SAL_WARN("extensions.update", "Caught init update exception, thread terminated. " << e.Message );
+ SAL_WARN("extensions.update", "Caught init update exception, thread terminated. " << e );
}
}
@@ -236,7 +236,7 @@ void UpdateCheckJob::handleExtensionUpdates( const uno::Sequence< beans::NamedVa
}
catch( const uno::Exception& e )
{
- SAL_WARN("extensions.update", "Caught exception, thread terminated. " << e.Message);
+ SAL_WARN("extensions.update", "Caught exception, thread terminated. " << e);
}
}
diff --git a/extensions/source/update/feed/test/updatefeedtest.cxx b/extensions/source/update/feed/test/updatefeedtest.cxx
index a50cde2fa5a5..4c5efc97c5ba 100644
--- a/extensions/source/update/feed/test/updatefeedtest.cxx
+++ b/extensions/source/update/feed/test/updatefeedtest.cxx
@@ -73,7 +73,7 @@ SAL_IMPLEMENT_MAIN()
}
catch( const uno::Exception & e )
{
- SAL_WARN("extensions.update", "exception caught: " << e.Message);
+ SAL_WARN("extensions.update", "exception caught: " << e);
}
catch( ... )
{