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 /cppuhelper/source/compat.cxx | |
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 'cppuhelper/source/compat.cxx')
-rw-r--r-- | cppuhelper/source/compat.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/cppuhelper/source/compat.cxx b/cppuhelper/source/compat.cxx index b06f4407afcf..2141f8b763eb 100644 --- a/cppuhelper/source/compat.cxx +++ b/cppuhelper/source/compat.cxx @@ -51,7 +51,7 @@ namespace cppu { SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::lang::XMultiComponentFactory > bootstrapInitialSF( - rtl::OUString const &) SAL_THROW((com::sun::star::uno::Exception)) + rtl::OUString const &) { for (;;) { std::abort(); } // avoid "must return a value" warnings } @@ -59,26 +59,26 @@ css::uno::Reference< css::lang::XMultiComponentFactory > bootstrapInitialSF( SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::uno::XComponentContext > SAL_CALL bootstrap_InitialComponentContext( css::uno::Reference< css::registry::XSimpleRegistry > const &, - rtl::OUString const &) SAL_THROW((css::uno::Exception)) + rtl::OUString const &) { for (;;) { std::abort(); } // avoid "must return a value" warnings } SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry > -SAL_CALL createNestedRegistry(rtl::OUString const &) SAL_THROW(()) { +SAL_CALL createNestedRegistry(rtl::OUString const &) { for (;;) { std::abort(); } // avoid "must return a value" warnings } SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::lang::XMultiServiceFactory > SAL_CALL createRegistryServiceFactory( rtl::OUString const &, rtl::OUString const &, sal_Bool, - rtl::OUString const &) SAL_THROW((css::uno::Exception)) + rtl::OUString const &) { for (;;) { std::abort(); } // avoid "must return a value" warnings } SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry > -SAL_CALL createSimpleRegistry(rtl::OUString const &) SAL_THROW(()) { +SAL_CALL createSimpleRegistry(rtl::OUString const &) { for (;;) { std::abort(); } // avoid "must return a value" warnings } @@ -87,7 +87,7 @@ createStandardClassWithSequence( css::uno::Reference< css::lang::XMultiServiceFactory > const &, rtl::OUString const &, css::uno::Reference< css::reflection::XIdlClass > const &, - css::uno::Sequence< rtl::OUString > const &) SAL_THROW(()) + css::uno::Sequence< rtl::OUString > const &) { for (;;) { std::abort(); } // avoid "must return a value" warnings } @@ -98,7 +98,6 @@ invokeStaticComponentFactory( css::uno::Reference<css::lang::XMultiServiceFactory> const &, css::uno::Reference<css::registry::XRegistryKey> const &, rtl::OUString const &) - SAL_THROW((css::loader::CannotActivateFactoryException)) { for (;;) { std::abort(); } // avoid "must return a value" warnings } @@ -109,7 +108,6 @@ loadSharedLibComponentFactory( css::uno::Reference<css::lang::XMultiServiceFactory> const &, css::uno::Reference<css::registry::XRegistryKey> const &, rtl::OUString const &) - SAL_THROW((css::loader::CannotActivateFactoryException)) { for (;;) { std::abort(); } // avoid "must return a value" warnings } |