diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-12 16:45:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-12 16:45:30 +0000 |
commit | 38f83bd0a5ae49ff382c64ea8ee4540435f0eb62 (patch) | |
tree | 5319372c97c68fe94e811b7fdb2adec683f39715 | |
parent | Related: fdo#38832 Replace Table with std::map (diff) | |
download | core-38f83bd0a5ae49ff382c64ea8ee4540435f0eb62.tar.gz core-38f83bd0a5ae49ff382c64ea8ee4540435f0eb62.zip |
catch by const reference
-rw-r--r-- | cui/source/options/optasian.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx index ced5fcdbf862..28bcb7402cf3 100644 --- a/cui/source/options/optasian.cxx +++ b/cui/source/options/optasian.cxx @@ -220,7 +220,7 @@ sal_Bool SvxAsianLayoutPage::FillItemSet( SfxItemSet& ) pImpl->xForbidden->setForbiddenCharacters( aLocale, *( itElem->second->pCharacters ) ); } } - catch(Exception&) + catch (const Exception&) { OSL_FAIL("exception in XForbiddenCharacters"); } @@ -354,7 +354,7 @@ IMPL_LINK(SvxAsianLayoutPage, LanguageHdl, SvxLanguageBox*, EMPTYARG ) sEnd = aForbidden.endLine; } } - catch(Exception&) + catch (const Exception&) { OSL_FAIL("exception in XForbiddenCharacters"); } @@ -417,7 +417,7 @@ IMPL_LINK(SvxAsianLayoutPage, ModifyHdl, Edit*, pEdit) else pImpl->addForbiddenCharacters(eSelectLanguage, 0); } - catch(Exception&) + catch (const Exception&) { OSL_FAIL("exception in XForbiddenCharacters"); } |