diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-05 08:08:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-05 08:17:46 +0200 |
commit | da906ab93781928adc51c605825f91b16fe8dd19 (patch) | |
tree | d66505e7ca1c9894dd4fb10503f78a4edbd1be74 /include/cppuhelper/factory.hxx | |
parent | comphelper: remove SAL_THROW macro (diff) | |
download | core-da906ab93781928adc51c605825f91b16fe8dd19.tar.gz core-da906ab93781928adc51c605825f91b16fe8dd19.zip |
cppuhelper: remove SAL_THROW macro
Change-Id: I54141071396d04e7bead56da14a665b8556ba6d2
Diffstat (limited to 'include/cppuhelper/factory.hxx')
-rw-r--r-- | include/cppuhelper/factory.hxx | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/include/cppuhelper/factory.hxx b/include/cppuhelper/factory.hxx index bde35a7cfcc2..b507674a8ff5 100644 --- a/include/cppuhelper/factory.hxx +++ b/include/cppuhelper/factory.hxx @@ -125,8 +125,7 @@ namespace cppu */ typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >( SAL_CALL * ComponentFactoryFunc)( - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ) - SAL_THROW( (::com::sun::star::uno::Exception) ); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); /** Creates a single component factory supporting the XSingleComponentFactory interface. @@ -141,8 +140,7 @@ SAL_CALL createSingleComponentFactory( ComponentFactoryFunc fptr, ::rtl::OUString const & rImplementationName, ::com::sun::star::uno::Sequence< ::rtl::OUString > const & rServiceNames, - rtl_ModuleCount * pModCount = 0 ) - SAL_THROW(()); + rtl_ModuleCount * pModCount = 0 ); /** Creates a single service factory which holds the instance created only once. @@ -159,8 +157,7 @@ createOneInstanceComponentFactory( ComponentFactoryFunc fptr, ::rtl::OUString const & rImplementationName, ::com::sun::star::uno::Sequence< ::rtl::OUString > const & rServiceNames, - rtl_ModuleCount * pModCount = 0 ) - SAL_THROW(()); + rtl_ModuleCount * pModCount = 0 ); /** Deprecated. The type of the instanciate function used as argument of the create*Fcatory functions. @@ -191,8 +188,7 @@ createSingleFactory( const ::rtl::OUString & rImplementationName, ComponentInstantiation pCreateFunction, const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames, - rtl_ModuleCount * pModCount = 0 ) - SAL_THROW(()); + rtl_ModuleCount * pModCount = 0 ); /** Deprecated. Creates a factory wrapping another one. This means the methods of the interfaces XServiceProvider, XServiceInfo and @@ -211,8 +207,7 @@ createSingleFactory( CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL createFactoryProxy( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > & rFactory ) - SAL_THROW(()); + const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > & rFactory ); /** Deprecated. Creates a single service factory which holds the instance created only once. @@ -234,8 +229,7 @@ createOneInstanceFactory( const ::rtl::OUString & rComponentName, ComponentInstantiation pCreateFunction, const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames, - rtl_ModuleCount * pModCount = 0 ) - SAL_THROW(()); + rtl_ModuleCount * pModCount = 0 ); /** Deprecated. Creates a single service factory based on a registry. @@ -250,8 +244,7 @@ CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::X createSingleRegistryFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, const ::rtl::OUString & rImplementationName, - const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey ) - SAL_THROW(()); + const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey ); /** Deprecated. Creates a single service factory which holds the instance created only once based on a registry. @@ -269,8 +262,7 @@ CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::X createOneInstanceRegistryFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, const ::rtl::OUString & rComponentName, - const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey ) - SAL_THROW(()); + const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey ); } |