summaryrefslogtreecommitdiff
path: root/reportdesign
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 /reportdesign
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 'reportdesign')
-rw-r--r--reportdesign/source/filter/xml/xmlTable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/filter/xml/xmlTable.cxx b/reportdesign/source/filter/xml/xmlTable.cxx
index dcc0f7078e8d..574e9fd8e06a 100644
--- a/reportdesign/source/filter/xml/xmlTable.cxx
+++ b/reportdesign/source/filter/xml/xmlTable.cxx
@@ -250,7 +250,7 @@ void OXMLTable::EndElement()
(*aCellIter)->setSize(awt::Size(nWidth,nHeight));
(*aCellIter)->setPosition(awt::Point(nPosX,nPosY));
}
- catch(beans::PropertyVetoException)
+ catch(const beans::PropertyVetoException &)
{
OSL_FAIL("Could not set the correct position or size!");
}