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 /cui | |
parent | e5feeed767744a4823e0e672d0606b478a7dfe67 (diff) |
catch by const reference
Diffstat (limited to 'cui')
-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"); } |