summaryrefslogtreecommitdiff
path: root/unoxml/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-04-13 09:58:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-04-13 09:58:32 +0100
commit38483573ba892b5cb6f69f038d114ab66b95fd71 (patch)
treedeee91d14ac671037ff0e1a0e19668742099db10 /unoxml/source
parente0a5984d718678e6cff9724ceab6ca1d4b816dfe (diff)
catch by const reference
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/dom/documentbuilder.cxx2
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 >();
}