diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2001-07-10 10:42:56 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2001-07-10 10:42:56 +0000 |
commit | e4e8567c6c300d4252a964b5811e44148f0cb36e (patch) | |
tree | 41c1f924e51d493b3052054c2938b7091a397a16 /cppuhelper | |
parent | 1916b1bfec0c27d6ce5d1c3f574fe875f9671c37 (diff) |
#89465# aaarg, removed redundant error handling again
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/servicefactory.cxx | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/cppuhelper/source/servicefactory.cxx b/cppuhelper/source/servicefactory.cxx index 6ce38a0836d6..be2bf8b73710 100644 --- a/cppuhelper/source/servicefactory.cxx +++ b/cppuhelper/source/servicefactory.cxx @@ -2,9 +2,9 @@ * * $RCSfile: servicefactory.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: jbu $ $Date: 2001-07-10 10:55:39 $ + * last change: $Author: jbu $ $Date: 2001-07-10 11:42:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -337,12 +337,6 @@ static Reference< lang::XMultiComponentFactory > createImplServiceFactory( xRegistry->open( rWriteRegistry, sal_False, sal_True ); } } - else - { - throw Exception( OUString( RTL_CONSTASCII_USTRINGPARAM( - "createRegistryServiceFactory(): couldn't instantiate SimpleRegistry service" ) ), - Reference< XInterface > () ); - } } else if (rWriteRegistry.getLength() && rReadRegistry.getLength()) // default registry { @@ -374,12 +368,6 @@ static Reference< lang::XMultiComponentFactory > createImplServiceFactory( xWriteReg->open( rWriteRegistry, sal_False, sal_True ); } } - else - { - throw Exception( OUString( RTL_CONSTASCII_USTRINGPARAM( - "createRegistryServiceFactory(): couldn't instantiate SimpleRegistry service" ) ), - Reference< XInterface > () ); - } Reference< registry::XSimpleRegistry > xReadReg( createSimpleRegistry( rBootstrapPath ) ); if (xReadReg.is()) |