diff options
Diffstat (limited to 'scripting/source/provider/ProviderCache.cxx')
-rw-r--r-- | scripting/source/provider/ProviderCache.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripting/source/provider/ProviderCache.cxx b/scripting/source/provider/ProviderCache.cxx index 57a2f924fbbe..65b4fa4f5f02 100644 --- a/scripting/source/provider/ProviderCache.cxx +++ b/scripting/source/provider/ProviderCache.cxx @@ -31,8 +31,7 @@ using namespace com::sun::star::script; namespace func_provider { -ProviderCache::ProviderCache( const Reference< XComponentContext >& xContext, const Sequence< Any >& scriptContext ) - throw ( RuntimeException ) : m_Sctx( scriptContext ), m_xContext( xContext ) +ProviderCache::ProviderCache( const Reference< XComponentContext >& xContext, const Sequence< Any >& scriptContext ) : m_Sctx( scriptContext ), m_xContext( xContext ) { // initialise m_hProviderDetailsCache with details of ScriptProviders // will use createContentEnumeration @@ -43,8 +42,7 @@ ProviderCache::ProviderCache( const Reference< XComponentContext >& xContext, co } -ProviderCache::ProviderCache( const Reference< XComponentContext >& xContext, const Sequence< Any >& scriptContext, const Sequence< OUString >& blackList ) - throw ( RuntimeException ) : m_sBlackList( blackList ), m_Sctx( scriptContext ), m_xContext( xContext ) +ProviderCache::ProviderCache( const Reference< XComponentContext >& xContext, const Sequence< Any >& scriptContext, const Sequence< OUString >& blackList ) : m_sBlackList( blackList ), m_Sctx( scriptContext ), m_xContext( xContext ) { // initialise m_hProviderDetailsCache with details of ScriptProviders @@ -81,7 +79,7 @@ ProviderCache::getProvider( const OUString& providerName ) } Sequence < Reference< provider::XScriptProvider > > -ProviderCache::getAllProviders() throw ( RuntimeException ) +ProviderCache::getAllProviders() { // need to create providers that haven't been created already // so check what providers exist and what ones don't @@ -131,7 +129,7 @@ ProviderCache::getAllProviders() throw ( RuntimeException ) } void -ProviderCache::populateCache() throw ( RuntimeException ) +ProviderCache::populateCache() { // wrong name in services.rdb OUString serviceName; @@ -179,7 +177,7 @@ ProviderCache::populateCache() throw ( RuntimeException ) } Reference< provider::XScriptProvider > -ProviderCache::createProvider( ProviderDetails& details ) throw ( RuntimeException ) +ProviderCache::createProvider( ProviderDetails& details ) { try { |