From 520891d058f9e936b9b8afb490b5a26c156008ef Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 14 Dec 2011 00:03:52 +0900 Subject: catch exception by constant reference --- fpicker/source/unx/kde_unx/UnxFPentry.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpicker/source/unx') diff --git a/fpicker/source/unx/kde_unx/UnxFPentry.cxx b/fpicker/source/unx/kde_unx/UnxFPentry.cxx index 5533ab7c163d..0937742e66e5 100644 --- a/fpicker/source/unx/kde_unx/UnxFPentry.cxx +++ b/fpicker/source/unx/kde_unx/UnxFPentry.cxx @@ -67,7 +67,7 @@ sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistr Reference< XRegistryKey > pXNewKey( static_cast< XRegistryKey* >( pRegistryKey ) ); pXNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM( FILE_PICKER_REGKEY_NAME ) )); } - catch( InvalidRegistryException& ) + catch( const InvalidRegistryException& ) { OSL_FAIL( "InvalidRegistryException caught" ); bRetVal = sal_False; -- cgit