diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 09:33:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 10:31:43 +0200 |
commit | 70accc2904edb5c4aa9b5acb7ff2889a77717b75 (patch) | |
tree | f6b8aa6e318694b8fe81b40abcf115e4fe54230f /ucb | |
parent | b8775ff8961dbe589799ac7f59427a8e5d07ac72 (diff) |
loplugin:logexceptionnicely in toolkit..unoxml
Change-Id: I0a3126545f9ef98640f6dd166290e9b9e91b8355
Reviewed-on: https://gerrit.libreoffice.org/74244
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/provprox.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx index 25e1a1d1ff74..fbf44c7eb091 100644 --- a/ucb/source/core/provprox.cxx +++ b/ucb/source/core/provprox.cxx @@ -21,6 +21,7 @@ #include <osl/thread.h> #include <rtl/strbuf.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #include "provprox.hxx" #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> @@ -311,9 +312,9 @@ UcbContentProviderProxy::getContentProvider() { throw; } - catch ( Exception const & e) + catch ( Exception const & ) { - SAL_INFO( "ucb.core", "Exception when getting content provider: " << e ); + TOOLS_INFO_EXCEPTION( "ucb.core", "Exception getting content provider"); } // registerInstance called at proxy, but not yet at original? |