diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-13 09:58:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-13 09:58:32 +0100 |
commit | 38483573ba892b5cb6f69f038d114ab66b95fd71 (patch) | |
tree | deee91d14ac671037ff0e1a0e19668742099db10 /unoxml/source | |
parent | e0a5984d718678e6cff9724ceab6ca1d4b816dfe (diff) |
catch by const reference
Diffstat (limited to 'unoxml/source')
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index f950964320c8..8b38fd36fe44 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -83,7 +83,7 @@ namespace DOM Content aContent(sSystemId, aEnvironment); is.aInputStream = aContent.openStream(); - } catch (com::sun::star::uno::Exception) { + } catch (const com::sun::star::uno::Exception&) { OSL_FAIL("exception in default entity resolver"); is.aInputStream = Reference< XInputStream >(); } |