From 8d234284d0ec0393e8d9d5057f68f48f33bc8d9d Mon Sep 17 00:00:00 2001 From: Noel Grandin <noel.grandin@collabora.co.uk> Date: Sat, 15 Jun 2019 13:12:33 +0200 Subject: loplugin:logexceptionnicely in linguistic..oox Change-Id: I3f96494f5fecb2f1011578b768198c1204147202 Reviewed-on: https://gerrit.libreoffice.org/74099 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> --- linguistic/source/gciterator.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'linguistic') diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index 7aca99026250..9c8aed2a49a7 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -677,11 +677,9 @@ void GrammarCheckingIterator::DequeueAndCheck() AddEntry( xFPIterator, xFlatParaNext, aCurDocId, 0, aFPEntryItem.m_bAutomatic ); } } - catch (css::uno::Exception & e) + catch (css::uno::Exception &) { - SAL_WARN( - "linguistic", - "GrammarCheckingIterator::DequeueAndCheck ignoring " << e); + TOOLS_WARN_EXCEPTION("linguistic", "GrammarCheckingIterator::DequeueAndCheck ignoring"); } } -- cgit