summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-15 13:12:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-15 19:57:59 +0200
commit8d234284d0ec0393e8d9d5057f68f48f33bc8d9d (patch)
tree7d08fffc27aa49ad3024afa8fa05418029457efd /linguistic
parentdc9d11e20aca4f7df7bd3d11d84e963ce4abf2bc (diff)
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>
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/gciterator.cxx6
1 files changed, 2 insertions, 4 deletions
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");
}
}