diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-17 23:52:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 11:08:37 +0100 |
commit | bbc355c39f52397ce98081bfc090e366a73f0c91 (patch) | |
tree | 1ca5eed19517552db5337daa1059752f9663bbb7 /ucbhelper/source | |
parent | b74c7e7fceddca2c93bf7586df938f9909feb0f7 (diff) |
catch by const reference
Diffstat (limited to 'ucbhelper/source')
-rw-r--r-- | ucbhelper/source/provider/propertyvalueset.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ucbhelper/source/provider/propertyvalueset.cxx b/ucbhelper/source/provider/propertyvalueset.cxx index c6ab550237c1..361a8fd514af 100644 --- a/ucbhelper/source/provider/propertyvalueset.cxx +++ b/ucbhelper/source/provider/propertyvalueset.cxx @@ -221,10 +221,10 @@ class PropertyValues : public PropertyValuesVector {}; m_bWasNull = sal_False; \ } \ } \ - catch ( IllegalArgumentException ) \ + catch (const IllegalArgumentException&) \ { \ } \ - catch ( CannotConvertException ) \ + catch (const CannotConvertException&) \ { \ } \ } \ @@ -881,10 +881,10 @@ void PropertyValueSet::appendPropertySet( if ( aValue.hasValue() ) appendObject( rProp, aValue ); } - catch ( UnknownPropertyException ) + catch (const UnknownPropertyException&) { } - catch ( WrappedTargetException ) + catch (const WrappedTargetException&) { } } @@ -909,10 +909,10 @@ sal_Bool PropertyValueSet::appendPropertySetValue( return sal_True; } } - catch ( UnknownPropertyException ) + catch (const UnknownPropertyException&) { } - catch ( WrappedTargetException ) + catch (const WrappedTargetException&) { } } |