diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-31 22:47:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-01 09:27:26 +0000 |
commit | 8be381cf6662e97579c804ec022da085d370829c (patch) | |
tree | 5f33ff2c0b9bbc3c1262b0f5905f2be78e7d5f3d /sfx2 | |
parent | d01ee468d84a32a83747fb0afdc267e5fd2288c8 (diff) |
catch by const ref
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/bastyp/fltfnc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index 63add660c327..2d347781f585 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -988,7 +988,7 @@ void SfxFilterContainer::ReadSingleFilter_Impl( { aResult = xTypeCFG->getByName( sType ); } - catch( ::com::sun::star::container::NoSuchElementException& ) + catch (const ::com::sun::star::container::NoSuchElementException&) { aResult = ::com::sun::star::uno::Any(); } @@ -1156,7 +1156,7 @@ void SfxFilterContainer::ReadFilters_Impl( sal_Bool bUpdate ) } } } - catch( ::com::sun::star::uno::Exception& ) + catch(const ::com::sun::star::uno::Exception&) { DBG_ASSERT( sal_False, "SfxFilterContainer::ReadFilter()\nException detected. Possible not all filters could be cached.\n" ); } |