summaryrefslogtreecommitdiff
path: root/sax/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-11 16:36:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-12 08:54:15 +0200
commitfa394eef4017d62549599ded3a62d790bc508582 (patch)
treedc23efda2c3e260af82487c1e3046451277efa6c /sax/qa
parenta267efe358cb788e0256feada268987ddbf9604f (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax/qa')
-rw-r--r--sax/qa/cppunit/xmlimport.cxx2
1 files changed, 1 insertions, 1 deletions
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 & )
{
}
}