diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-13 11:34:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-13 11:34:26 +0100 |
commit | e5cc799e9abe34fe2c9e2edfcbd5b5481c39c999 (patch) | |
tree | fb2d467a7bad0736db68480c8f30534bae97d205 /writerfilter/source/doctok | |
parent | 6b39b299848a31d509b736101764ebe991e3e250 (diff) |
catch by const reference
Diffstat (limited to 'writerfilter/source/doctok')
-rw-r--r-- | writerfilter/source/doctok/resourcesimpl.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/doctok/resourcesimpl.xsl b/writerfilter/source/doctok/resourcesimpl.xsl index 564cfe975ea7..256ac2b3ced0 100644 --- a/writerfilter/source/doctok/resourcesimpl.xsl +++ b/writerfilter/source/doctok/resourcesimpl.xsl @@ -238,7 +238,7 @@ using namespace ::std; resolveNoAuto(rHandler); </xsl:if> <xsl:text> - } catch (Exception & e) { + } catch (const Exception & e) { clog << e.getText() << endl; } } @@ -483,7 +483,7 @@ using namespace ::std; { rHandler.entry(n, pEntry); } - catch (ExceptionOutOfBounds e) + catch (const ExceptionOutOfBounds&) { } } |