From fa394eef4017d62549599ded3a62d790bc508582 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 Oct 2018 16:36:57 +0200 Subject: clang-tidy misc-throw-by-value-catch-by-reference Change-Id: I04750771b63551fd3df522753a4ed21b8d5c42f3 Reviewed-on: https://gerrit.libreoffice.org/61680 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sax/qa/cppunit/xmlimport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sax/qa') diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx index b22f9d268e8a..38944154deba 100644 --- a/sax/qa/cppunit/xmlimport.cxx +++ b/sax/qa/cppunit/xmlimport.cxx @@ -430,7 +430,7 @@ void XMLImportTest::testMissingNamespaceDeclaration() CPPUNIT_ASSERT_EQUAL( rParserStr, rLegacyFastParserStr ); } - catch( SAXException ) + catch( const SAXException & ) { } } -- cgit