diff options
author | Alexander Bergmann <myaddons@gmx.de> | 2012-01-26 16:00:09 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-26 17:41:07 +0000 |
commit | 0439af27e1f37b19d4409f34f974d6ade49f99bf (patch) | |
tree | 13bbb2549319d74a1a109bf2727aab37dca5b8c7 /scripting | |
parent | f1cb0a4ab4f11dc015be1696c7c7751802171915 (diff) |
Code cleanup: ( () ) replaced by (())
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/basprov/basprov.cxx | 2 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.cxx | 4 | ||||
-rw-r--r-- | scripting/source/provider/MasterScriptProvider.cxx | 8 | ||||
-rw-r--r-- | scripting/source/provider/MasterScriptProviderFactory.cxx | 4 | ||||
-rw-r--r-- | scripting/source/runtimemgr/ScriptNameResolverImpl.cxx | 4 | ||||
-rw-r--r-- | scripting/source/runtimemgr/ScriptRuntimeManager.cxx | 20 | ||||
-rw-r--r-- | scripting/source/stringresource/stringresource.cxx | 6 | ||||
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 4 | ||||
-rw-r--r-- | scripting/source/vbaevents/service.cxx | 4 |
10 files changed, 29 insertions, 29 deletions
diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index c2c0653b85d6..41b10751b397 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -565,7 +565,7 @@ namespace basprov static Reference< XInterface > SAL_CALL create_BasicProviderImpl( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new BasicProviderImpl( xContext ) ); } diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index d828e04c69a8..3a4ceef7a2ec 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -859,7 +859,7 @@ static ::rtl::OUString aResourceResolverPropName(RTL_CONSTASCII_USTRINGPARAM("Re static Reference< XInterface > SAL_CALL create_DialogProviderImpl( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new DialogProviderImpl( xContext ) ); } diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx index 19c534cacdbc..a1a646426bdc 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx @@ -732,7 +732,7 @@ BrowseNodeFactoryImpl::getOrganizerHierarchy() Sequence< ::rtl::OUString > SAL_CALL bnf_getSupportedServiceNames( ) - SAL_THROW( () ) + SAL_THROW(()) { ::rtl::OUString str_name(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.script.browse.BrowseNodeFactory")); @@ -742,7 +742,7 @@ bnf_getSupportedServiceNames( ) ::rtl::OUString SAL_CALL bnf_getImplementationName( ) - SAL_THROW( () ) + SAL_THROW(()) { return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.script.browse.BrowseNodeFactory" )); diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx index 81d647895811..54395d72ca13 100644 --- a/scripting/source/provider/MasterScriptProvider.cxx +++ b/scripting/source/provider/MasterScriptProvider.cxx @@ -885,7 +885,7 @@ Reference< XInterface > SAL_CALL sp_create( //************************************************************************* Sequence< ::rtl::OUString > sp_getSupportedServiceNames( ) - SAL_THROW( () ) + SAL_THROW(()) { ::rtl::OUString names[3]; @@ -901,7 +901,7 @@ Sequence< ::rtl::OUString > sp_getSupportedServiceNames( ) //************************************************************************* ::rtl::OUString sp_getImplementationName( ) -SAL_THROW( () ) +SAL_THROW(()) { return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.script.provider.MasterScriptProvider" ) ); @@ -916,7 +916,7 @@ Reference< XInterface > SAL_CALL urihelper_create( } Sequence< ::rtl::OUString > urihelper_getSupportedServiceNames( ) - SAL_THROW( () ) + SAL_THROW(()) { ::rtl::OUString serviceNameList[] = { ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( @@ -929,7 +929,7 @@ Sequence< ::rtl::OUString > urihelper_getSupportedServiceNames( ) } ::rtl::OUString urihelper_getImplementationName( ) - SAL_THROW( () ) + SAL_THROW(()) { return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.script.provider.ScriptURIHelper")); diff --git a/scripting/source/provider/MasterScriptProviderFactory.cxx b/scripting/source/provider/MasterScriptProviderFactory.cxx index 88125326761d..dd0b10c26ce3 100644 --- a/scripting/source/provider/MasterScriptProviderFactory.cxx +++ b/scripting/source/provider/MasterScriptProviderFactory.cxx @@ -88,7 +88,7 @@ MasterScriptProviderFactory::getActiveMSPList() const Sequence< ::rtl::OUString > SAL_CALL mspf_getSupportedServiceNames( ) - SAL_THROW( () ) + SAL_THROW(()) { ::rtl::OUString str_name(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.script.provider.MasterScriptProviderFactory")); @@ -98,7 +98,7 @@ mspf_getSupportedServiceNames( ) ::rtl::OUString SAL_CALL mspf_getImplementationName( ) - SAL_THROW( () ) + SAL_THROW(()) { return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.script.provider.MasterScriptProviderFactory")); diff --git a/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx b/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx index a9b0ed19a070..1ee7580680d9 100644 --- a/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx +++ b/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx @@ -612,13 +612,13 @@ SAL_THROW( ( Exception ) ) } //************************************************************************* -Sequence< OUString > scriptnri_getSupportedServiceNames() SAL_THROW( () ) +Sequence< OUString > scriptnri_getSupportedServiceNames() SAL_THROW(()) { return nrs_serviceNames; } //************************************************************************* -OUString scriptnri_getImplementationName() SAL_THROW( () ) +OUString scriptnri_getImplementationName() SAL_THROW(()) { return nrs_implName; } diff --git a/scripting/source/runtimemgr/ScriptRuntimeManager.cxx b/scripting/source/runtimemgr/ScriptRuntimeManager.cxx index 929cffc213aa..6452911b3ab7 100644 --- a/scripting/source/runtimemgr/ScriptRuntimeManager.cxx +++ b/scripting/source/runtimemgr/ScriptRuntimeManager.cxx @@ -368,14 +368,14 @@ static Reference< XInterface > SAL_CALL srm_create( //************************************************************************* static Sequence<OUString> srm_getSupportedServiceNames( ) -SAL_THROW( () ) +SAL_THROW(()) { return s_serviceNames; } //************************************************************************* static OUString srm_getImplementationName( ) -SAL_THROW( () ) +SAL_THROW(()) { return s_implName; } @@ -386,35 +386,35 @@ Reference< XInterface > SAL_CALL scriptnri_create( SAL_THROW( ( Exception ) ); //************************************************************************* -Sequence< OUString > scriptnri_getSupportedServiceNames() SAL_THROW( () ); +Sequence< OUString > scriptnri_getSupportedServiceNames() SAL_THROW(()); //************************************************************************* -OUString scriptnri_getImplementationName() SAL_THROW( () ); +OUString scriptnri_getImplementationName() SAL_THROW(()); //******************** ScriptStorageMangaer defines *********************** Reference< XInterface > SAL_CALL ssm_create( Reference< XComponentContext > const & xComponentContext ) SAL_THROW( ( Exception ) ); //************************************************************************* -Sequence< OUString > ssm_getSupportedServiceNames() SAL_THROW( () ); +Sequence< OUString > ssm_getSupportedServiceNames() SAL_THROW(()); //************************************************************************* -OUString ssm_getImplementationName() SAL_THROW( () ); +OUString ssm_getImplementationName() SAL_THROW(()); //************************************************************************* //************ Script Provider defines ************************************ Reference< XInterface > SAL_CALL sp_create( const Reference< XComponentContext > & xCompC ); //******************** ScriptProvider defines *************************** -Sequence< OUString > sp_getSupportedServiceNames( ) SAL_THROW( () ); +Sequence< OUString > sp_getSupportedServiceNames( ) SAL_THROW(()); //************************************************************************* -OUString sp_getImplementationName( ) SAL_THROW( () ); +OUString sp_getImplementationName( ) SAL_THROW(()); //************************************************************************* //************ ScriptStorage defines ************************************** Reference< XInterface > SAL_CALL ss_create( const Reference< XComponentContext > & xCompC ); //******************** ScriptProvider defines *************************** -Sequence< OUString > ss_getSupportedServiceNames( ) SAL_THROW( () ); +Sequence< OUString > ss_getSupportedServiceNames( ) SAL_THROW(()); //************************************************************************* -OUString ss_getImplementationName( ) SAL_THROW( () ); +OUString ss_getImplementationName( ) SAL_THROW(()); //************************************************************************* diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index c15a6bb6dbac..ea1ac05269ef 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -97,7 +97,7 @@ static ::rtl::OUString getImplementationName_StringResourceImpl() static Reference< XInterface > SAL_CALL create_StringResourceImpl( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< ::cppu::OWeakObject * >( new StringResourcePersistenceImpl( xContext ) ); } @@ -2330,7 +2330,7 @@ static ::rtl::OUString getImplementationName_StringResourceWithStorageImpl() static Reference< XInterface > SAL_CALL create_StringResourceWithStorageImpl( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< ::cppu::OWeakObject * >( new StringResourceWithStorageImpl( xContext ) ); } @@ -2668,7 +2668,7 @@ static ::rtl::OUString getImplementationName_StringResourceWithLocationImpl() static Reference< XInterface > SAL_CALL create_StringResourceWithLocationImpl( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< ::cppu::OWeakObject * >( new StringResourceWithLocationImpl( xContext ) ); } diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 3b9cf401e39a..3b9cd949ee55 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -1127,7 +1127,7 @@ namespace evtlstner uno::Reference< XInterface > SAL_CALL create( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new EventListener( xContext ) ); } @@ -1157,7 +1157,7 @@ namespace ooevtdescgen uno::Reference< XInterface > SAL_CALL create( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new VBAToOOEventDescGen( xContext ) ); } diff --git a/scripting/source/vbaevents/service.cxx b/scripting/source/vbaevents/service.cxx index 640785acce8c..fee5ce6c83a3 100644 --- a/scripting/source/vbaevents/service.cxx +++ b/scripting/source/vbaevents/service.cxx @@ -44,7 +44,7 @@ namespace evtlstner uno::Reference< XInterface > SAL_CALL create( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ); + SAL_THROW(()); // ----------------------------------------------------------------------------- @@ -64,7 +64,7 @@ namespace ooevtdescgen uno::Reference< XInterface > SAL_CALL create( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ); + SAL_THROW(()); // ----------------------------------------------------------------------------- |