diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 15:38:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 20:03:42 +0200 |
commit | 2836b78b54650d117282a9a345677d1b4d9fc043 (patch) | |
tree | 7627772f88f8d6f1b56f4f4db2675ae8772638f6 /xmlhelp | |
parent | 697f8edbb0154ed72a42e4e8d7c4942cfe7dd59d (diff) |
loplugin:logexceptionnicely in xmlhelp..xmlsecurity
Change-Id: Idbf0de3f953b08f98144241346533ad30f49269e
Reviewed-on: https://gerrit.libreoffice.org/74285
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/Library_ucpchelp1.mk | 1 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/xmlhelp/Library_ucpchelp1.mk b/xmlhelp/Library_ucpchelp1.mk index e12aabf96326..b76e0eb67c23 100644 --- a/xmlhelp/Library_ucpchelp1.mk +++ b/xmlhelp/Library_ucpchelp1.mk @@ -36,6 +36,7 @@ $(eval $(call gb_Library_use_libraries,ucpchelp1,\ cppuhelper \ helplinker \ sal \ + tl \ ucbhelper \ utl \ i18nlangtag \ diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx index ac464c6d02c3..d599a217446d 100644 --- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/lang/Locale.hpp> #include <helpcompiler/HelpSearch.hxx> +#include <tools/diagnose_ex.h> #if defined(__GNUC__) # pragma GCC visibility push (default) @@ -234,9 +235,9 @@ ResultSetForQuery::ResultSetForQuery( const uno::Reference< uno::XComponentConte aIndexFolderResultVectorVector.push_back( std::move(aIndexFolderResultVector) ); } - catch (const Exception &e) + catch (const Exception &) { - SAL_WARN("xmlhelp", e); + TOOLS_WARN_EXCEPTION("xmlhelp", ""); } if( bTemporary ) |