diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-27 00:12:38 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-27 10:17:15 +0900 |
commit | c936e5062770ba100c2eddd7889b51d271c6c73c (patch) | |
tree | 7ab2701dce9bfea7ac5b3b319a05a1aeb4a25cad /stoc/source/simpleregistry | |
parent | 1d55be916472270d23f7d3ff7513dd6df6dc1e46 (diff) |
catch exception by constant reference
Diffstat (limited to 'stoc/source/simpleregistry')
-rw-r--r-- | stoc/source/simpleregistry/textualservices.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/simpleregistry/textualservices.cxx b/stoc/source/simpleregistry/textualservices.cxx index 0b6f672342f8..1ea425883aa9 100644 --- a/stoc/source/simpleregistry/textualservices.cxx +++ b/stoc/source/simpleregistry/textualservices.cxx @@ -328,7 +328,7 @@ void Parser::handleComponent() { } try { attrUri_ = rtl::Uri::convertRelToAbs(reader_.getUrl(), attrUri_); - } catch (rtl::MalformedUriException & e) { + } catch (const rtl::MalformedUriException & e) { throw css::registry::InvalidRegistryException( (reader_.getUrl() + rtl::OUString( |