diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 23:27:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-22 09:07:47 +0000 |
commit | be4db0569c947179b0facf367862213748982361 (patch) | |
tree | 11a36f5643e4e597b21f7e15d447ae9470cffbb7 /sfx2/source/appl/xpackcreator.cxx | |
parent | 7a6efedd9eb4dea9abc9d1fd1f6362092ce01f78 (diff) |
catch by const ref
Diffstat (limited to 'sfx2/source/appl/xpackcreator.cxx')
-rw-r--r-- | sfx2/source/appl/xpackcreator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/xpackcreator.cxx b/sfx2/source/appl/xpackcreator.cxx index b82226f39038..3f404fdc725e 100644 --- a/sfx2/source/appl/xpackcreator.cxx +++ b/sfx2/source/appl/xpackcreator.cxx @@ -137,7 +137,7 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const ::rtl::OUString& } } } - catch ( uno::RuntimeException& ) + catch (const uno::RuntimeException&) { if ( pTempStream ) delete pTempStream; @@ -147,7 +147,7 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const ::rtl::OUString& throw; } - catch ( io::IOException& ) + catch (const io::IOException&) { if ( pTempStream ) delete pTempStream; @@ -157,7 +157,7 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const ::rtl::OUString& throw; } - catch ( uno::Exception& ) + catch (const uno::Exception&) { } |