diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-03-01 00:18:06 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-03-01 00:33:28 +0900 |
commit | 83f1151c706eb78e08d781245ccabdc68aa0ee83 (patch) | |
tree | 5e7bbc60307a2eb1ceef53aba7f8aeb8c3169954 /writerperfect | |
parent | 6e9b859fa1c6ba2f94b46ac272372e0a503075c4 (diff) |
catch exception by const ref
Change-Id: Id0a9e3b52cabff7be99a5bba6ddb0a108a325d42
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/common/DirectoryStream.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerperfect/source/common/DirectoryStream.cxx b/writerperfect/source/common/DirectoryStream.cxx index ff93e2669780..90aeb597c991 100644 --- a/writerperfect/source/common/DirectoryStream.cxx +++ b/writerperfect/source/common/DirectoryStream.cxx @@ -76,11 +76,11 @@ uno::Reference<io::XInputStream> findStream(ucbhelper::Content &rContent, const } while (xResultSet->next()); } } - catch (uno::RuntimeException) + catch (const uno::RuntimeException &) { // ignore } - catch (uno::Exception) + catch (const uno::Exception &) { // ignore } |