diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-11 18:51:50 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-12 10:05:25 +0900 |
commit | 75b835c8cd2953c5bc0f23df300ee553f94eb28d (patch) | |
tree | 753bf89fdc56cd3df9842adc7962b0965090cf44 /filter/source/xmlfilterdetect | |
parent | f00172b81c8bab0b1c62cbca1bc14b83deed8806 (diff) |
catch exception by constant reference
Diffstat (limited to 'filter/source/xmlfilterdetect')
-rw-r--r-- | filter/source/xmlfilterdetect/filterdetect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/xmlfilterdetect/filterdetect.cxx b/filter/source/xmlfilterdetect/filterdetect.cxx index 6675a2a5cdc9..cb68f5747257 100644 --- a/filter/source/xmlfilterdetect/filterdetect.cxx +++ b/filter/source/xmlfilterdetect/filterdetect.cxx @@ -217,7 +217,7 @@ bool isXMLStream(const ::rtl::OString& aHeaderStrm) i++; } } - catch (Exception &) + catch (const Exception &) { OSL_FAIL( "An Exception occurred while opening File stream" ); } |