diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-14 12:44:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-15 11:47:12 +0200 |
commit | 71b809959bb8f775d83dc52628448bb8b8322b28 (patch) | |
tree | f9aa4308050eb7d55611068602c0cf0e3c1b3690 /extensions | |
parent | 135907f2061550624ee1859745d94eee01849070 (diff) |
remove unnecessary use of void in function declarations
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'extensions')
26 files changed, 132 insertions, 132 deletions
diff --git a/extensions/source/abpilot/unodialogabp.hxx b/extensions/source/abpilot/unodialogabp.hxx index ff58b6e9a456..b444095823a5 100644 --- a/extensions/source/abpilot/unodialogabp.hxx +++ b/extensions/source/abpilot/unodialogabp.hxx @@ -63,8 +63,8 @@ namespace abp virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XServiceInfo - static methods - static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw( ::com::sun::star::uno::RuntimeException ); - static OUString getImplementationName_Static(void) throw( ::com::sun::star::uno::RuntimeException ); + static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( ::com::sun::star::uno::RuntimeException ); + static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException ); static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >&); diff --git a/extensions/source/activex/so_activex.cxx b/extensions/source/activex/so_activex.cxx index d460bc6aa984..45c9174610c4 100644 --- a/extensions/source/activex/so_activex.cxx +++ b/extensions/source/activex/so_activex.cxx @@ -90,7 +90,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/) // Used to determine whether the DLL can be unloaded by OLE -STDAPI DllCanUnloadNow(void) +STDAPI DllCanUnloadNow() { return (_Module.GetLockCount()==0) ? S_OK : S_FALSE; } @@ -658,7 +658,7 @@ STDAPI DllUnregisterServerDoc( int nMode, BOOL bForAllUsers, BOOL bFor64Bit ) // DllRegisterServer - regsvr32 entry point -STDAPI DllRegisterServer( void ) +STDAPI DllRegisterServer() { char pProgramPath[1024]; HRESULT aResult = E_FAIL; @@ -691,7 +691,7 @@ STDAPI DllRegisterServer( void ) // DllUnregisterServer - regsvr32 entry point -STDAPI DllUnregisterServer( void ) +STDAPI DllUnregisterServer() { DllUnregisterServerDoc( 63, FALSE, bX64 ); DllUnregisterServerNative( 63, FALSE, bX64 ); diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 98016ca29009..9cb50420584d 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -99,7 +99,7 @@ public: // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) SAL_OVERRIDE; sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(std::exception ) SAL_OVERRIDE; - Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw(std::exception ) SAL_OVERRIDE; + Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(std::exception ) SAL_OVERRIDE; static OUString getImplementationName_Static() throw( ) { @@ -110,15 +110,15 @@ public: //XNameAccess virtual Any SAL_CALL getByName(const OUString& aName) throw ( NoSuchElementException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE; - virtual Sequence< OUString > SAL_CALL getElementNames(void) throw ( RuntimeException, std::exception ) SAL_OVERRIDE; + virtual Sequence< OUString > SAL_CALL getElementNames() throw ( RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasByName(const OUString& aName) throw ( RuntimeException, std::exception ) SAL_OVERRIDE; //XElementAccess - virtual Type SAL_CALL getElementType(void) throw ( RuntimeException, std::exception ) SAL_OVERRIDE; - virtual sal_Bool SAL_CALL hasElements(void) throw ( RuntimeException, std::exception ) SAL_OVERRIDE; + virtual Type SAL_CALL getElementType() throw ( RuntimeException, std::exception ) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL hasElements() throw ( RuntimeException, std::exception ) SAL_OVERRIDE; //XPropertySet - virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo(void) throw ( RuntimeException, std::exception ) SAL_OVERRIDE; + virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo() throw ( RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL setPropertyValue(const OUString& PropertyName, const Any& aValue) throw( UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE; virtual Any SAL_CALL getPropertyValue(const OUString& PropertyName) throw ( UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL addPropertyChangeListener(const OUString& PropertyName, const Reference< XPropertyChangeListener > & aListener) throw( UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE; @@ -126,7 +126,7 @@ public: virtual void SAL_CALL addVetoableChangeListener(const OUString& PropertyName, const Reference< XVetoableChangeListener > & aListener) throw( UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL removeVetoableChangeListener(const OUString& PropertyName, const Reference< XVetoableChangeListener > & aListener) throw( UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE; - static Sequence<OUString> SAL_CALL getSupportedServiceNames_Static(void) throw( ); + static Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw( ); friend Reference< XInterface > SAL_CALL BibliographyLoader_CreateInstance( const Reference< XMultiServiceFactory > & rSMgr ) throw( Exception ); @@ -134,7 +134,7 @@ public: virtual void SAL_CALL load(const Reference< XFrame > & aFrame, const OUString& aURL, const Sequence< PropertyValue >& aArgs, const Reference< XLoadEventListener > & aListener) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL cancel(void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL cancel() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; }; BibliographyLoader::BibliographyLoader() : @@ -173,13 +173,13 @@ sal_Bool BibliographyLoader::supportsService(const OUString& ServiceName) throw( } // XServiceInfo -Sequence< OUString > BibliographyLoader::getSupportedServiceNames(void) throw(std::exception ) +Sequence< OUString > BibliographyLoader::getSupportedServiceNames() throw(std::exception ) { return getSupportedServiceNames_Static(); } // ORegistryServiceManager_Static -Sequence< OUString > BibliographyLoader::getSupportedServiceNames_Static(void) throw( ) +Sequence< OUString > BibliographyLoader::getSupportedServiceNames_Static() throw( ) { Sequence< OUString > aSNS( 2 ); aSNS.getArray()[0] = "com.sun.star.frame.FrameLoader"; @@ -213,7 +213,7 @@ extern "C" } -void BibliographyLoader::cancel(void) throw (::com::sun::star::uno::RuntimeException, std::exception) +void BibliographyLoader::cancel() throw (::com::sun::star::uno::RuntimeException, std::exception) { //! //! @@ -498,7 +498,7 @@ Any BibliographyLoader::getByName(const OUString& rName) throw return aRet; } -Sequence< OUString > BibliographyLoader::getElementNames(void) throw ( RuntimeException, std::exception ) +Sequence< OUString > BibliographyLoader::getElementNames() throw ( RuntimeException, std::exception ) { Sequence< OUString > aRet(10); int nRealNameCount = 0; @@ -562,19 +562,19 @@ sal_Bool BibliographyLoader::hasByName(const OUString& rName) throw ( RuntimeExc return bRet; } -Type BibliographyLoader::getElementType(void) throw ( RuntimeException, std::exception ) +Type BibliographyLoader::getElementType() throw ( RuntimeException, std::exception ) { return cppu::UnoType<Sequence<PropertyValue>>::get(); } -sal_Bool BibliographyLoader::hasElements(void) throw ( RuntimeException, std::exception ) +sal_Bool BibliographyLoader::hasElements() throw ( RuntimeException, std::exception ) { Reference< XResultSet > xCursor = GetDataCursor(); Reference< XNameAccess > xColumns = GetDataColumns(); return xColumns.is() && (xColumns->getElementNames().getLength() != 0); } -Reference< XPropertySetInfo > BibliographyLoader::getPropertySetInfo(void) throw +Reference< XPropertySetInfo > BibliographyLoader::getPropertySetInfo() throw ( RuntimeException, std::exception ) { static const SfxItemPropertyMapEntry aBibProps_Impl[] = diff --git a/extensions/source/bibliography/bibshortcuthandler.hxx b/extensions/source/bibliography/bibshortcuthandler.hxx index f8c87f395fb5..45bf279df404 100644 --- a/extensions/source/bibliography/bibshortcuthandler.hxx +++ b/extensions/source/bibliography/bibshortcuthandler.hxx @@ -40,14 +40,14 @@ public: virtual ~BibShortCutHandler(); virtual bool HandleShortCutKey( const KeyEvent& rKeyEvent ); // returns true, if key was handled - inline vcl::Window* GetWindow( void ); + inline vcl::Window* GetWindow(); }; inline BibShortCutHandler::BibShortCutHandler( vcl::Window* _pBaseClass ) : pBaseClass( _pBaseClass ) { } -inline vcl::Window* BibShortCutHandler::GetWindow( void ) +inline vcl::Window* BibShortCutHandler::GetWindow() { return pBaseClass; } diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx index 02764e4e5816..238b1606d1e6 100644 --- a/extensions/source/bibliography/general.cxx +++ b/extensions/source/bibliography/general.cxx @@ -482,7 +482,7 @@ uno::Reference< awt::XControlModel > BibGeneralPage::AddXControl( return xCtrModel; } -void BibGeneralPage::InitFixedTexts( void ) +void BibGeneralPage::InitFixedTexts() { aFixedTexts[0] = pIdentifierFT; aFixedTexts[1] = pAuthTypeFT; diff --git a/extensions/source/bibliography/general.hxx b/extensions/source/bibliography/general.hxx index 0b89c0ea322e..2c0c17aaf5fe 100644 --- a/extensions/source/bibliography/general.hxx +++ b/extensions/source/bibliography/general.hxx @@ -125,7 +125,7 @@ class BibGeneralPage: public BibGeneralPageBaseClass, public BibTabPage const OString& sHelpId, sal_uInt16 nIndexInFTArray, std::vector<vcl::Window*>& rChildren ); protected: - void InitFixedTexts( void ); // create mnemonics and set text an all fixed texts + void InitFixedTexts(); // create mnemonics and set text an all fixed texts public: BibGeneralPage(vcl::Window* pParent, BibDataManager* pDatMan); diff --git a/extensions/source/config/ldap/ldapaccess.hxx b/extensions/source/config/ldap/ldapaccess.hxx index 16d512863e0d..b0c308c0e78f 100644 --- a/extensions/source/config/ldap/ldapaccess.hxx +++ b/extensions/source/config/ldap/ldapaccess.hxx @@ -79,9 +79,9 @@ class LdapConnection public: /** Default constructor */ - LdapConnection(void) : mConnection(NULL),mLdapDefinition() {} + LdapConnection() : mConnection(NULL),mLdapDefinition() {} /** Destructor, releases the connection */ - ~LdapConnection(void) ; + ~LdapConnection() ; /** Make connection to LDAP server */ void connectSimple(const LdapDefinition& aDefinition) throw (ldap::LdapConnectionException, @@ -118,7 +118,7 @@ private: Indicates whether the connection is in a valid state. @return sal_True if connection is valid, sal_False otherwise */ - bool isValid(void) const { return mConnection != NULL ; } + bool isValid() const { return mConnection != NULL ; } void connectSimple() throw (ldap::LdapConnectionException, diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx index 4d53c39c8572..dfb8a60f7c13 100644 --- a/extensions/source/config/ldap/ldapuserprofilebe.cxx +++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx @@ -212,19 +212,19 @@ css::uno::Any LdapUserProfileBe::getPropertyValue( } -OUString SAL_CALL LdapUserProfileBe::getLdapUserProfileBeName(void) { +OUString SAL_CALL LdapUserProfileBe::getLdapUserProfileBeName() { return OUString("com.sun.star.comp.configuration.backend.LdapUserProfileBe"); } -OUString SAL_CALL LdapUserProfileBe::getImplementationName(void) +OUString SAL_CALL LdapUserProfileBe::getImplementationName() throw (uno::RuntimeException, std::exception) { return getLdapUserProfileBeName() ; } -uno::Sequence<OUString> SAL_CALL LdapUserProfileBe::getLdapUserProfileBeServiceNames(void) +uno::Sequence<OUString> SAL_CALL LdapUserProfileBe::getLdapUserProfileBeServiceNames() { uno::Sequence<OUString> aServices(1) ; aServices[0] = "com.sun.star.configuration.backend.LdapUserProfileBe"; @@ -238,7 +238,7 @@ sal_Bool SAL_CALL LdapUserProfileBe::supportsService(const OUString& aServiceNam } uno::Sequence<OUString> -SAL_CALL LdapUserProfileBe::getSupportedServiceNames(void) +SAL_CALL LdapUserProfileBe::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { return getLdapUserProfileBeServiceNames() ; diff --git a/extensions/source/config/ldap/ldapuserprofilebe.hxx b/extensions/source/config/ldap/ldapuserprofilebe.hxx index 56f6155db466..983f833466b0 100644 --- a/extensions/source/config/ldap/ldapuserprofilebe.hxx +++ b/extensions/source/config/ldap/ldapuserprofilebe.hxx @@ -55,7 +55,7 @@ class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase public : LdapUserProfileBe(const uno::Reference<uno::XComponentContext>& xContext); - virtual ~LdapUserProfileBe(void) ; + virtual ~LdapUserProfileBe() ; // XServiceInfo virtual OUString SAL_CALL @@ -125,13 +125,13 @@ class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase Provides the implementation name. @return implementation name */ - static OUString SAL_CALL getLdapUserProfileBeName(void) ; + static OUString SAL_CALL getLdapUserProfileBeName() ; /** Provides the supported services names @return service names */ static uno::Sequence<OUString> SAL_CALL - getLdapUserProfileBeServiceNames(void) ; + getLdapUserProfileBeServiceNames() ; private: /** Check if LDAP is configured */ diff --git a/extensions/source/dbpilots/unoautopilot.hxx b/extensions/source/dbpilots/unoautopilot.hxx index d176321acacf..c70597fca7d5 100644 --- a/extensions/source/dbpilots/unoautopilot.hxx +++ b/extensions/source/dbpilots/unoautopilot.hxx @@ -71,8 +71,8 @@ namespace dbp virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XServiceInfo - static methods - static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw( ::com::sun::star::uno::RuntimeException ); - static OUString getImplementationName_Static(void) throw( ::com::sun::star::uno::RuntimeException ); + static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( ::com::sun::star::uno::RuntimeException ); + static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException ); static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >&); diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index b5560fcfc16a..01f8aa368596 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -154,7 +154,7 @@ Any IUnknownWrapper_Impl::queryInterface(const Type& t) XInitialization, XAutomationObject, XDefaultProperty, XDefaultMethod, XDirectInvocation, XAutomationInvocation >::queryInterface(t); } -Reference<XIntrospectionAccess> SAL_CALL IUnknownWrapper_Impl::getIntrospection(void) +Reference<XIntrospectionAccess> SAL_CALL IUnknownWrapper_Impl::getIntrospection() throw (RuntimeException ) { Reference<XIntrospectionAccess> ret; diff --git a/extensions/source/plugin/base/manager.cxx b/extensions/source/plugin/base/manager.cxx index 0b91202befde..84d45719d4c6 100644 --- a/extensions/source/plugin/base/manager.cxx +++ b/extensions/source/plugin/base/manager.cxx @@ -120,13 +120,13 @@ sal_Bool XPluginManager_Impl::supportsService(const OUString& ServiceName) throw } // ::com::sun::star::lang::XServiceInfo -Sequence< OUString > XPluginManager_Impl::getSupportedServiceNames(void) throw( ) +Sequence< OUString > XPluginManager_Impl::getSupportedServiceNames() throw( ) { return getSupportedServiceNames_Static(); } // XPluginManager_Impl -Sequence< OUString > XPluginManager_Impl::getSupportedServiceNames_Static(void) throw( ) +Sequence< OUString > XPluginManager_Impl::getSupportedServiceNames_Static() throw( ) { Sequence< OUString > aSNS( 1 ); aSNS[0] = "com.sun.star.plugin.PluginManager"; diff --git a/extensions/source/plugin/base/plctrl.cxx b/extensions/source/plugin/base/plctrl.cxx index b8973e0ec8f0..6ad9fdd5aa5b 100644 --- a/extensions/source/plugin/base/plctrl.cxx +++ b/extensions/source/plugin/base/plctrl.cxx @@ -77,7 +77,7 @@ void PluginControl_Impl::removeEventListener( const Reference< ::com::sun::star: } //---- ::com::sun::star::lang::XComponent ---------------------------------------------------------------------------------- -void PluginControl_Impl::dispose(void) +void PluginControl_Impl::dispose() throw( RuntimeException, std::exception ) { // send disposing events @@ -106,7 +106,7 @@ void PluginControl_Impl::setPosSize( sal_Int32 nX_, sal_Int32 nY_, sal_Int32 nWi } //---- ::com::sun::star::awt::XWindow ------------------------------------------------------------------------------------- -::com::sun::star::awt::Rectangle PluginControl_Impl::getPosSize(void) +::com::sun::star::awt::Rectangle PluginControl_Impl::getPosSize() throw( RuntimeException, std::exception ) { return _xPeerWindow->getPosSize(); @@ -131,7 +131,7 @@ void PluginControl_Impl::setEnable( sal_Bool bEnable ) } //---- ::com::sun::star::awt::XWindow ------------------------------------------------------------------------------------- -void PluginControl_Impl::setFocus(void) throw( RuntimeException, std::exception ) +void PluginControl_Impl::setFocus() throw( RuntimeException, std::exception ) { if (_xPeerWindow.is()) _xPeerWindow->setFocus(); diff --git a/extensions/source/plugin/base/plmodel.cxx b/extensions/source/plugin/base/plmodel.cxx index f2c5cc3f650f..8ef83b590cd6 100644 --- a/extensions/source/plugin/base/plmodel.cxx +++ b/extensions/source/plugin/base/plmodel.cxx @@ -54,7 +54,7 @@ Any PluginModel::queryAggregation( const Type& type ) throw( RuntimeException, s // XPluginManager_Impl -Sequence< OUString > PluginModel::getSupportedServiceNames_Static(void) throw() +Sequence< OUString > PluginModel::getSupportedServiceNames_Static() throw() { Sequence< OUString > aSNS( 1 ); aSNS[0] = "com.sun.star.plugin.PluginModel"; @@ -170,7 +170,7 @@ void PluginModel::removeEventListener( const Reference< ::com::sun::star::lang:: } //---- ::com::sun::star::lang::XComponent ---------------------------------------------------------------------------------- -void PluginModel::dispose(void) throw(std::exception) +void PluginModel::dispose() throw(std::exception) { // send disposing events ::com::sun::star::lang::EventObject aEvt; diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx index cd0ccd56bb98..834b52ec766b 100644 --- a/extensions/source/plugin/base/xplugin.cxx +++ b/extensions/source/plugin/base/xplugin.cxx @@ -1170,7 +1170,7 @@ sal_uInt32 PluginInputStream::read( sal_uInt32 offset, sal_Int8* buffer, sal_uIn return m_aFileStream.Read( buffer, size ); } -void PluginInputStream::flush(void) throw(std::exception) +void PluginInputStream::flush() throw(std::exception) { } diff --git a/extensions/source/plugin/inc/plugin/impl.hxx b/extensions/source/plugin/inc/plugin/impl.hxx index 7ec12f716dec..1df38ee2a574 100644 --- a/extensions/source/plugin/inc/plugin/impl.hxx +++ b/extensions/source/plugin/inc/plugin/impl.hxx @@ -316,8 +316,8 @@ public: virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw() SAL_OVERRIDE; virtual OUString SAL_CALL getImplementationName() throw() SAL_OVERRIDE; - Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ) SAL_OVERRIDE; - static Sequence< OUString > getSupportedServiceNames_Static(void) throw( ); + Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ) SAL_OVERRIDE; + static Sequence< OUString > getSupportedServiceNames_Static() throw( ); static OUString getImplementationName_Static() throw( ) { /** the soplayer uses this name in its source! maybe not after 5.2 */ diff --git a/extensions/source/plugin/inc/plugin/model.hxx b/extensions/source/plugin/inc/plugin/model.hxx index 4cf7bdd2e1e0..b5ac5477b9fc 100644 --- a/extensions/source/plugin/inc/plugin/model.hxx +++ b/extensions/source/plugin/inc/plugin/model.hxx @@ -101,7 +101,7 @@ class PluginModel : public BroadcasterHelperHolder, // com::sun::star::lang::XTypeProvider - static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static(void) throw( ); + static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static() throw( ); static OUString SAL_CALL getImplementationName_Static() throw( ) { /** the soplayer uses this name in its source! maybe not after 5.2 */ diff --git a/extensions/source/plugin/inc/plugin/plctrl.hxx b/extensions/source/plugin/inc/plugin/plctrl.hxx index bab35813b453..0684a9a6fe20 100644 --- a/extensions/source/plugin/inc/plugin/plctrl.hxx +++ b/extensions/source/plugin/inc/plugin/plctrl.hxx @@ -99,10 +99,10 @@ public: // ::com::sun::star::awt::XWindow virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL setEnable( sal_Bool bEnable ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL setFocus(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL setPosSize( sal_Int32 nX_, sal_Int32 nY_, sal_Int32 nWidth_, sal_Int32 nHeight_, sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::awt::Rectangle SAL_CALL getPosSize(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::awt::Rectangle SAL_CALL getPosSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL addWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener > & l ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener > & l ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -132,10 +132,10 @@ public: // ::com::sun::star::awt::XView virtual sal_Bool SAL_CALL setGraphics( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > & /*aDevice*/ ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { return sal_False; } - virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > SAL_CALL getGraphics(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE + virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > SAL_CALL getGraphics() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { return ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > (); } - virtual ::com::sun::star::awt::Size SAL_CALL getSize(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE + virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { return ::com::sun::star::awt::Size(_nWidth, _nHeight); } virtual void SAL_CALL draw( sal_Int32 x, sal_Int32 y ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/MasterDetailLinkDialog.hxx b/extensions/source/propctrlr/MasterDetailLinkDialog.hxx index 3ff5f64ec0cf..28a6ddfa7875 100644 --- a/extensions/source/propctrlr/MasterDetailLinkDialog.hxx +++ b/extensions/source/propctrlr/MasterDetailLinkDialog.hxx @@ -40,8 +40,8 @@ namespace pcr MasterDetailLinkDialog(const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& _rxContext); // XServiceInfo - static methods - static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static(void) throw( ::com::sun::star::uno::RuntimeException ); - static OUString getImplementationName_static(void) throw( ::com::sun::star::uno::RuntimeException ); + static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static() throw( ::com::sun::star::uno::RuntimeException ); + static OUString getImplementationName_static() throw( ::com::sun::star::uno::RuntimeException ); static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >&); private: diff --git a/extensions/source/propctrlr/controlfontdialog.hxx b/extensions/source/propctrlr/controlfontdialog.hxx index a5bd97d45b81..3df0b46fcdc5 100644 --- a/extensions/source/propctrlr/controlfontdialog.hxx +++ b/extensions/source/propctrlr/controlfontdialog.hxx @@ -65,8 +65,8 @@ namespace pcr virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XServiceInfo - static methods - static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static(void) throw( ::com::sun::star::uno::RuntimeException ); - static OUString getImplementationName_static(void) throw( ::com::sun::star::uno::RuntimeException ); + static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static() throw( ::com::sun::star::uno::RuntimeException ); + static OUString getImplementationName_static() throw( ::com::sun::star::uno::RuntimeException ); static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >&); diff --git a/extensions/source/propctrlr/pcrunodialogs.hxx b/extensions/source/propctrlr/pcrunodialogs.hxx index 61a76bf24f4c..e0e6e4325e22 100644 --- a/extensions/source/propctrlr/pcrunodialogs.hxx +++ b/extensions/source/propctrlr/pcrunodialogs.hxx @@ -61,8 +61,8 @@ namespace pcr virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XServiceInfo - static methods - static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static(void) throw( ::com::sun::star::uno::RuntimeException ); - static OUString getImplementationName_static(void) throw( ::com::sun::star::uno::RuntimeException ); + static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static() throw( ::com::sun::star::uno::RuntimeException ); + static OUString getImplementationName_static() throw( ::com::sun::star::uno::RuntimeException ); static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >&); diff --git a/extensions/source/propctrlr/taborder.cxx b/extensions/source/propctrlr/taborder.cxx index 24fb70112512..2036f0834a07 100644 --- a/extensions/source/propctrlr/taborder.cxx +++ b/extensions/source/propctrlr/taborder.cxx @@ -58,12 +58,12 @@ namespace pcr // XTabControllerModel virtual void SAL_CALL setControlModels(const Sequence< Reference< XControlModel > >& rModels) throw( RuntimeException, std::exception ) SAL_OVERRIDE {m_aModels = rModels;} - virtual Sequence< Reference< XControlModel > > SAL_CALL getControlModels(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE {return m_aModels;} + virtual Sequence< Reference< XControlModel > > SAL_CALL getControlModels() throw( RuntimeException, std::exception ) SAL_OVERRIDE {return m_aModels;} virtual void SAL_CALL setGroup(const Sequence< Reference< XControlModel > >& /*Group*/, const OUString& /*GroupName*/) throw( RuntimeException, std::exception ) SAL_OVERRIDE {} - virtual sal_Int32 SAL_CALL getGroupCount(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE {return 0;} + virtual sal_Int32 SAL_CALL getGroupCount() throw( RuntimeException, std::exception ) SAL_OVERRIDE {return 0;} virtual void SAL_CALL getGroup(sal_Int32 /*nGroup*/, Sequence< Reference< XControlModel > >& /*Group*/, OUString& /*Name*/) throw( RuntimeException, std::exception ) SAL_OVERRIDE {} virtual void SAL_CALL getGroupByName(const OUString& /*Name*/, Sequence< Reference< XControlModel > >& /*Group*/) throw( RuntimeException, std::exception ) SAL_OVERRIDE {} - virtual sal_Bool SAL_CALL getGroupControl(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE {return sal_False;} ; + virtual sal_Bool SAL_CALL getGroupControl() throw( RuntimeException, std::exception ) SAL_OVERRIDE {return sal_False;} ; virtual void SAL_CALL setGroupControl(sal_Bool /*GroupControl*/) throw( RuntimeException, std::exception ) SAL_OVERRIDE {}; }; diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index cad79ac149d3..cd04ef5d3810 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -176,7 +176,7 @@ public: throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; //XPropertySet - virtual uno::Reference< beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(void) + virtual uno::Reference< beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL setPropertyValue(const OUString& PropertyName, const uno::Any& aValue) throw( beans::UnknownPropertyException, beans::PropertyVetoException, @@ -384,7 +384,7 @@ void SAL_CALL UpdateCheckUI::disposing(const lang::EventObject&) } -uno::Reference< beans::XPropertySetInfo > UpdateCheckUI::getPropertySetInfo(void) +uno::Reference< beans::XPropertySetInfo > UpdateCheckUI::getPropertySetInfo() throw ( uno::RuntimeException, std::exception ) { return NULL; diff --git a/extensions/test/ole/cpnt/cpnt.cxx b/extensions/test/ole/cpnt/cpnt.cxx index 36483086ee89..179448430909 100644 --- a/extensions/test/ole/cpnt/cpnt.cxx +++ b/extensions/test/ole/cpnt/cpnt.cxx @@ -149,33 +149,33 @@ public: // XTestSequence virtual Sequence< Reference<XEventListener> > SAL_CALL methodXEventListeners( const Sequence<Reference<XEventListener> >& aSeq) throw( RuntimeException); virtual Sequence< Sequence<Reference<XEventListener > > > SAL_CALL methodXEventListenersMul( const Sequence<Sequence<Reference<XEventListener > > >& aSeq ) throw (RuntimeException); - virtual Sequence< sal_Int8 > SAL_CALL getAttrByte(void) throw( RuntimeException ); + virtual Sequence< sal_Int8 > SAL_CALL getAttrByte() throw( RuntimeException ); virtual void SAL_CALL setAttrByte(const Sequence< sal_Int8 >& AttrByte_) throw( RuntimeException ); - virtual Sequence< float > SAL_CALL getAttrFloat(void) throw( RuntimeException) ; + virtual Sequence< float > SAL_CALL getAttrFloat() throw( RuntimeException) ; virtual void SAL_CALL setAttrFloat(const Sequence< float >& AttrFloat_) throw( RuntimeException ); - virtual Sequence< double > SAL_CALL getAttrDouble(void) throw( RuntimeException) ; + virtual Sequence< double > SAL_CALL getAttrDouble() throw( RuntimeException) ; virtual void SAL_CALL setAttrDouble(const Sequence< double >& AttrDouble_) throw( RuntimeException ); - virtual Sequence< sal_Bool > SAL_CALL getAttrBool(void) throw( RuntimeException ); + virtual Sequence< sal_Bool > SAL_CALL getAttrBool() throw( RuntimeException ); virtual void SAL_CALL setAttrBool(const Sequence< sal_Bool >& AttrBool_) throw( RuntimeException ); - virtual Sequence< sal_Int16 > SAL_CALL getAttrShort(void) throw( RuntimeException ); + virtual Sequence< sal_Int16 > SAL_CALL getAttrShort() throw( RuntimeException ); virtual void SAL_CALL setAttrShort(const Sequence< sal_Int16 >& AttrShort_) throw( RuntimeException ); - virtual Sequence< sal_uInt16 > SAL_CALL getAttrUShort(void) throw( RuntimeException ); + virtual Sequence< sal_uInt16 > SAL_CALL getAttrUShort() throw( RuntimeException ); virtual void SAL_CALL setAttrUShort(const Sequence< sal_uInt16 >& AttrUShort_) throw( RuntimeException ); - virtual Sequence< sal_Int32 > SAL_CALL getAttrLong(void) throw( RuntimeException ); + virtual Sequence< sal_Int32 > SAL_CALL getAttrLong() throw( RuntimeException ); virtual void SAL_CALL setAttrLong(const Sequence< sal_Int32 >& AttrLong_) throw( RuntimeException ); - virtual Sequence< sal_uInt32 > SAL_CALL getAttrULong(void) throw( RuntimeException ); + virtual Sequence< sal_uInt32 > SAL_CALL getAttrULong() throw( RuntimeException ); virtual void SAL_CALL setAttrULong(const Sequence< sal_uInt32 >& AttrULong_) throw( RuntimeException ); - virtual Sequence< OUString > SAL_CALL getAttrString(void) throw(RuntimeException ); + virtual Sequence< OUString > SAL_CALL getAttrString() throw(RuntimeException ); virtual void SAL_CALL setAttrString(const Sequence< OUString >& AttrString_) throw( RuntimeException ); - virtual Sequence< sal_Unicode > SAL_CALL getAttrChar(void) throw( RuntimeException ); + virtual Sequence< sal_Unicode > SAL_CALL getAttrChar() throw( RuntimeException ); virtual void SAL_CALL setAttrChar(const Sequence< sal_Unicode >& AttrChar_) throw( RuntimeException ); - virtual Sequence< Any > SAL_CALL getAttrAny(void) throw( RuntimeException ); + virtual Sequence< Any > SAL_CALL getAttrAny() throw( RuntimeException ); virtual void SAL_CALL setAttrAny(const Sequence< Any >& AttrAny_) throw( RuntimeException ); - virtual Sequence< Type > SAL_CALL getAttrType(void) throw( RuntimeException ); + virtual Sequence< Type > SAL_CALL getAttrType() throw( RuntimeException ); virtual void SAL_CALL setAttrType( const Sequence< Type >& _attrtype ) throw (RuntimeException); - virtual Sequence< Sequence< sal_Int32 > > SAL_CALL getAttrSequence(void) throw( RuntimeException ); + virtual Sequence< Sequence< sal_Int32 > > SAL_CALL getAttrSequence() throw( RuntimeException ); virtual void SAL_CALL setAttrSequence(const Sequence< Sequence< sal_Int32 > >& AttrSequence_) throw( RuntimeException ); - virtual Sequence< Sequence< Sequence< sal_Int32 > > > SAL_CALL getAttrSequence2(void) throw( RuntimeException ); + virtual Sequence< Sequence< Sequence< sal_Int32 > > > SAL_CALL getAttrSequence2() throw( RuntimeException ); virtual void SAL_CALL setAttrSequence2(const Sequence< Sequence< Sequence< sal_Int32 > > >& AttrSequence2_) throw ( RuntimeException ); virtual Sequence< Reference< XInterface > > SAL_CALL getAttrXInterface() throw(RuntimeException); virtual void SAL_CALL setAttrXInterface( const Sequence< Reference< XInterface > >& _attrxinterface ) throw(RuntimeException); @@ -250,23 +250,23 @@ public: // XTestSequence virtual void SAL_CALL testinout_methodXInterface( Reference< XInvocation >& rOut ) throw(RuntimeException); virtual void SAL_CALL testinout_methodXInterface2( Reference< XInterface > & rOut) throw( RuntimeException); virtual Any SAL_CALL methodAnyTest1(const Any& rIn) throw( RuntimeException ) ; - virtual Any SAL_CALL getAttrAny2(void) throw( RuntimeException ) ; + virtual Any SAL_CALL getAttrAny2() throw( RuntimeException ) ; virtual void SAL_CALL setAttrAny2(const Any& AttrAny2_) throw( RuntimeException ) ; // XTestStruct virtual void SAL_CALL methodStruct(const Property& aProp) throw( RuntimeException ); - virtual Property SAL_CALL retMethodStruct(void) throw( RuntimeException ); + virtual Property SAL_CALL retMethodStruct() throw( RuntimeException ); - virtual Property SAL_CALL getAttrStruct(void) throw( RuntimeException ); + virtual Property SAL_CALL getAttrStruct() throw( RuntimeException ); virtual void SAL_CALL setAttrStruct(const Property& AttrStruct_) throw( RuntimeException ); virtual Property SAL_CALL methodStruct2( const Property& aProp ) throw (RuntimeException); // XTestOther virtual void SAL_CALL other_methodAnyIn(const Any& rAny) throw( RuntimeException ); virtual void SAL_CALL other_methodAnyOut(Any& rAny) throw( RuntimeException ); - virtual Any SAL_CALL other_methodAnyRet(void) throw( RuntimeException ); + virtual Any SAL_CALL other_methodAnyRet() throw( RuntimeException ); virtual void SAL_CALL in_float( float val) throw ( RuntimeException); virtual Any SAL_CALL other_methodAny( const Any& rAny, const OUString& typeInAny ) throw (RuntimeException); @@ -330,7 +330,7 @@ Reference<XInterface> SAL_CALL OComponent_CreateInstance( const Reference<XMulti return xService; } -Sequence<OUString> OComponent_getSupportedServiceNames(void) +Sequence<OUString> OComponent_getSupportedServiceNames() { Sequence<OUString> aRet(1); aRet.getArray()[0] = SERVICE_NAME;//ODataInputStream_getImplementationName(); @@ -562,7 +562,7 @@ Sequence< Sequence<Reference<XEventListener > > > SAL_CALL OComponent::methodXEv -Sequence< sal_Int8 > SAL_CALL OComponent::getAttrByte(void) throw( RuntimeException) +Sequence< sal_Int8 > SAL_CALL OComponent::getAttrByte() throw( RuntimeException) { return m_seqByte; } @@ -570,7 +570,7 @@ void SAL_CALL OComponent::setAttrByte(const Sequence< sal_Int8 >& AttrByte_) thr { m_seqByte= AttrByte_; } -Sequence< float > SAL_CALL OComponent::getAttrFloat(void) throw( RuntimeException ) +Sequence< float > SAL_CALL OComponent::getAttrFloat() throw( RuntimeException ) { return m_seqFloat; } @@ -579,7 +579,7 @@ void SAL_CALL OComponent::setAttrFloat(const Sequence< float >& AttrFloat_) thro m_seqFloat= AttrFloat_; } -Sequence< double > SAL_CALL OComponent::getAttrDouble(void) throw( RuntimeException ) +Sequence< double > SAL_CALL OComponent::getAttrDouble() throw( RuntimeException ) { return m_seqDouble; } @@ -588,7 +588,7 @@ void SAL_CALL OComponent::setAttrDouble(const Sequence< double >& AttrDouble_) t m_seqDouble= AttrDouble_; } -Sequence< sal_Bool > SAL_CALL OComponent::getAttrBool(void) throw( RuntimeException) +Sequence< sal_Bool > SAL_CALL OComponent::getAttrBool() throw( RuntimeException) { return m_seqBool; } @@ -598,7 +598,7 @@ void SAL_CALL OComponent::setAttrBool(const Sequence< sal_Bool >& AttrBool_) thr m_seqBool= AttrBool_; } -Sequence< sal_Int16 > SAL_CALL OComponent::getAttrShort(void) throw( RuntimeException) +Sequence< sal_Int16 > SAL_CALL OComponent::getAttrShort() throw( RuntimeException) { return m_seqShort; } @@ -607,7 +607,7 @@ void SAL_CALL OComponent::setAttrShort(const Sequence< sal_Int16 >& AttrShort_) m_seqShort= AttrShort_; } -Sequence< sal_uInt16 > SAL_CALL OComponent::getAttrUShort(void) throw( RuntimeException ) +Sequence< sal_uInt16 > SAL_CALL OComponent::getAttrUShort() throw( RuntimeException ) { return m_seqUShort; } @@ -616,7 +616,7 @@ void SAL_CALL OComponent::setAttrUShort(const Sequence< sal_uInt16 >& AttrUShort m_seqUShort= AttrUShort_; } -Sequence< sal_Int32 > SAL_CALL OComponent::getAttrLong(void) throw( RuntimeException) +Sequence< sal_Int32 > SAL_CALL OComponent::getAttrLong() throw( RuntimeException) { return m_seqLong; } @@ -625,7 +625,7 @@ void SAL_CALL OComponent::setAttrLong(const Sequence< sal_Int32 >& AttrLong_) th m_seqLong= AttrLong_; } -Sequence< sal_uInt32 > SAL_CALL OComponent::getAttrULong(void) throw( RuntimeException ) +Sequence< sal_uInt32 > SAL_CALL OComponent::getAttrULong() throw( RuntimeException ) { return m_seqULong; } @@ -634,7 +634,7 @@ void SAL_CALL OComponent::setAttrULong(const Sequence< sal_uInt32 >& AttrULong_) m_seqULong= AttrULong_; } -Sequence< OUString > SAL_CALL OComponent::getAttrString(void) throw( RuntimeException ) +Sequence< OUString > SAL_CALL OComponent::getAttrString() throw( RuntimeException ) { return m_seqString; } @@ -643,7 +643,7 @@ void SAL_CALL OComponent::setAttrString(const Sequence< OUString >& AttrString_) m_seqString= AttrString_; } -Sequence< sal_Unicode > SAL_CALL OComponent::getAttrChar(void) throw( RuntimeException ) +Sequence< sal_Unicode > SAL_CALL OComponent::getAttrChar() throw( RuntimeException ) { return m_seqChar; } @@ -652,7 +652,7 @@ void SAL_CALL OComponent::setAttrChar(const Sequence< sal_Unicode >& AttrChar_) m_seqChar= AttrChar_; } -Sequence< Any > SAL_CALL OComponent::getAttrAny(void) throw( RuntimeException) +Sequence< Any > SAL_CALL OComponent::getAttrAny() throw( RuntimeException) { return m_seqAny; } @@ -661,7 +661,7 @@ void SAL_CALL OComponent::setAttrAny(const Sequence< Any >& AttrAny_) throw( Run m_seqAny= AttrAny_; } -Sequence< Type > SAL_CALL OComponent::getAttrType(void) throw( RuntimeException ) +Sequence< Type > SAL_CALL OComponent::getAttrType() throw( RuntimeException ) { return m_seqType; } @@ -672,7 +672,7 @@ void SAL_CALL OComponent::setAttrType( const Sequence< Type >& AttrType_) throw( } -Sequence< Sequence< sal_Int32 > > SAL_CALL OComponent::getAttrSequence(void) throw( RuntimeException) +Sequence< Sequence< sal_Int32 > > SAL_CALL OComponent::getAttrSequence() throw( RuntimeException) { return m_seq1; } @@ -692,7 +692,7 @@ void SAL_CALL OComponent::setAttrSequence(const Sequence< Sequence< sal_Int32 > m_seq1= AttrSequence; } -Sequence< Sequence< Sequence< sal_Int32 > > > SAL_CALL OComponent::getAttrSequence2(void) throw( RuntimeException ) +Sequence< Sequence< Sequence< sal_Int32 > > > SAL_CALL OComponent::getAttrSequence2() throw( RuntimeException ) { return m_seq2; } @@ -1213,7 +1213,7 @@ Any SAL_CALL OComponent::methodAnyTest1(const Any& rIn) throw( RuntimeException { return rIn; } -Any SAL_CALL OComponent::getAttrAny2(void) throw( RuntimeException ) +Any SAL_CALL OComponent::getAttrAny2() throw( RuntimeException ) { return m_any; } @@ -1235,7 +1235,7 @@ void SAL_CALL OComponent::methodStruct(const Property& aProp) throw( RuntimeExce MessageBox( NULL, A2T(buff), _T("OleTest: methodStruct"), MB_OK); } -Property SAL_CALL OComponent::retMethodStruct(void) throw( RuntimeException ) +Property SAL_CALL OComponent::retMethodStruct() throw( RuntimeException ) { Property a(L"OleTest_Property", 255, cppu::UnoType<XInterface>::get(), PropertyAttribute::MAYBEVOID | PropertyAttribute::BOUND | PropertyAttribute::CONSTRAINED | @@ -1244,7 +1244,7 @@ Property SAL_CALL OComponent::retMethodStruct(void) throw( RuntimeException ) return a; } -Property SAL_CALL OComponent::getAttrStruct(void) throw( RuntimeException) +Property SAL_CALL OComponent::getAttrStruct() throw( RuntimeException) { Property a(L"OleTest_Property", 255, cppu::UnoType<XInterface>::get(), PropertyAttribute::MAYBEVOID | PropertyAttribute::BOUND | PropertyAttribute::CONSTRAINED | @@ -1277,7 +1277,7 @@ void SAL_CALL OComponent::other_methodAnyOut(Any& rAny) throw( RuntimeException rAny <<= OUString(L"Ein Any"); } -Any SAL_CALL OComponent::other_methodAnyRet(void) throw(RuntimeException ) +Any SAL_CALL OComponent::other_methodAnyRet() throw(RuntimeException ) { Any a; a <<= OUString(L"Ein Any"); diff --git a/extensions/workben/pythonautotest.cxx b/extensions/workben/pythonautotest.cxx index fb6b66ba3fda..a7ee631e8a75 100644 --- a/extensions/workben/pythonautotest.cxx +++ b/extensions/workben/pythonautotest.cxx @@ -58,7 +58,7 @@ public: void* getImplementation(Reflection *p) { return OWeakObject::getImplementation(p); } public: - XIntrospectionAccessRef getIntrospection(void) const THROWS( (UsrSystemException) ) + XIntrospectionAccessRef getIntrospection() const THROWS( (UsrSystemException) ) { return XIntrospectionAccessRef(); } UsrAny invoke( const UString& FunctionName, @@ -348,7 +348,7 @@ class PythonCodeLibrary : return FALSE; } - virtual Sequence< UString > getModuleNames(void) THROWS( (UsrSystemException) ) + virtual Sequence< UString > getModuleNames() THROWS( (UsrSystemException) ) { return Sequence<UString> (); } diff --git a/extensions/workben/testpgp.cxx b/extensions/workben/testpgp.cxx index b9fe1f877566..1d8ea709190d 100644 --- a/extensions/workben/testpgp.cxx +++ b/extensions/workben/testpgp.cxx @@ -65,7 +65,7 @@ class DataSource_Impl : public: DataSource_Impl (int fd = 0); - virtual ~DataSource_Impl (void); + virtual ~DataSource_Impl(); void setBuffer (const Sequence<sal_Int8> &rBuffer); @@ -74,9 +74,9 @@ public: virtual sal_Bool SAL_CALL queryInterface ( const Uik &rUik, Any &rIfc) throw(RuntimeException); - virtual void SAL_CALL acquire (void) throw(RuntimeException); + virtual void SAL_CALL acquire() throw(RuntimeException); - virtual void SAL_CALL release (void) throw(RuntimeException); + virtual void SAL_CALL release() throw(RuntimeException); /** XInputStream. */ @@ -97,10 +97,10 @@ public: BufferSizeExceededException, IOException); - virtual sal_Int32 SAL_CALL available (void) + virtual sal_Int32 SAL_CALL available() throw (NotConnectedException, IOException); - virtual void SAL_CALL closeInput (void) + virtual void SAL_CALL closeInput() throw (NotConnectedException, IOException); }; @@ -116,18 +116,18 @@ class DataSink_Impl : Sequence<sal_Int8> m_buffer; public: - DataSink_Impl (void); - virtual ~DataSink_Impl (void); + DataSink_Impl(); + virtual ~DataSink_Impl(); - const Sequence<sal_Int8>& getBuffer (void) const { return m_buffer; } + const Sequence<sal_Int8>& getBuffer() const { return m_buffer; } /** XInterface. */ virtual sal_Bool SAL_CALL queryInterface ( const Uik &rUik, Any &rIfc) throw(RuntimeException); - virtual void SAL_CALL acquire (void) throw(RuntimeException); - virtual void SAL_CALL release (void) throw(RuntimeException); + virtual void SAL_CALL acquire() throw(RuntimeException); + virtual void SAL_CALL release() throw(RuntimeException); /** XOutputStream. */ @@ -137,12 +137,12 @@ public: BufferSizeExceededException, IOException); - virtual void SAL_CALL flush (void) + virtual void SAL_CALL flush() throw (NotConnectedException, BufferSizeExceededException, IOException); - virtual void SAL_CALL closeOutput (void) + virtual void SAL_CALL closeOutput() throw (NotConnectedException, BufferSizeExceededException, IOException); @@ -158,17 +158,17 @@ class DecoderListener_Impl : public XPGPDecoderListener { public: - DecoderListener_Impl (void); - virtual ~DecoderListener_Impl (void); + DecoderListener_Impl(); + virtual ~DecoderListener_Impl(); /** XInterface. */ virtual sal_Bool SAL_CALL queryInterface ( const Uik &rUik, Any &rIfc) throw(RuntimeException); - virtual void SAL_CALL acquire (void) throw(RuntimeException); + virtual void SAL_CALL acquire() throw(RuntimeException); - virtual void SAL_CALL release (void) throw(RuntimeException); + virtual void SAL_CALL release() throw(RuntimeException); /** XEventListener. */ @@ -196,7 +196,7 @@ DataSource_Impl::DataSource_Impl (int fd) /* * ~DataSource_Impl. */ -DataSource_Impl::~DataSource_Impl (void) +DataSource_Impl::~DataSource_Impl() { } @@ -245,7 +245,7 @@ sal_Bool SAL_CALL DataSource_Impl::queryInterface ( /* * XInterface: acquire. */ -void SAL_CALL DataSource_Impl::acquire (void) throw(RuntimeException) +void SAL_CALL DataSource_Impl::acquire() throw(RuntimeException) { OWeakObject::acquire(); } @@ -253,7 +253,7 @@ void SAL_CALL DataSource_Impl::acquire (void) throw(RuntimeException) /* * XInterface: release. */ -void SAL_CALL DataSource_Impl::release (void) throw(RuntimeException) +void SAL_CALL DataSource_Impl::release() throw(RuntimeException) { OWeakObject::release(); } @@ -305,7 +305,7 @@ void SAL_CALL DataSource_Impl::skipBytes (sal_Int32 nBytesToSkip) /* * XInputStream: available. */ -sal_Int32 SAL_CALL DataSource_Impl::available (void) +sal_Int32 SAL_CALL DataSource_Impl::available() throw (NotConnectedException, IOException) { sal_Int32 k = m_buffer.getLength() - m_position; @@ -315,7 +315,7 @@ sal_Int32 SAL_CALL DataSource_Impl::available (void) /* * XInputStream: closeInput. */ -void SAL_CALL DataSource_Impl::closeInput (void) +void SAL_CALL DataSource_Impl::closeInput() throw (NotConnectedException, IOException) { } @@ -328,14 +328,14 @@ void SAL_CALL DataSource_Impl::closeInput (void) /* * DataSink_Impl. */ -DataSink_Impl::DataSink_Impl (void) +DataSink_Impl::DataSink_Impl() { } /* * ~DataSink_Impl. */ -DataSink_Impl::~DataSink_Impl (void) +DataSink_Impl::~DataSink_Impl() { } @@ -356,7 +356,7 @@ sal_Bool SAL_CALL DataSink_Impl::queryInterface ( /* * XInterface: acquire. */ -void SAL_CALL DataSink_Impl::acquire (void) throw(RuntimeException) +void SAL_CALL DataSink_Impl::acquire() throw(RuntimeException) { OWeakObject::acquire(); } @@ -364,7 +364,7 @@ void SAL_CALL DataSink_Impl::acquire (void) throw(RuntimeException) /* * XInterface: release. */ -void SAL_CALL DataSink_Impl::release (void) throw(RuntimeException) +void SAL_CALL DataSink_Impl::release() throw(RuntimeException) { OWeakObject::release(); } @@ -390,7 +390,7 @@ void SAL_CALL DataSink_Impl::writeBytes (const Sequence<sal_Int8> &rBuffer) /* * XOutputStream: flush. */ -void SAL_CALL DataSink_Impl::flush (void) +void SAL_CALL DataSink_Impl::flush() throw (NotConnectedException, BufferSizeExceededException, IOException) { if (m_buffer.getLength()) @@ -413,7 +413,7 @@ void SAL_CALL DataSink_Impl::flush (void) /* * XOutputStream: closeOutput. */ -void SAL_CALL DataSink_Impl::closeOutput (void) +void SAL_CALL DataSink_Impl::closeOutput() throw (NotConnectedException, BufferSizeExceededException, IOException) { flush(); @@ -427,14 +427,14 @@ void SAL_CALL DataSink_Impl::closeOutput (void) /* * DecoderListener_Impl. */ -DecoderListener_Impl::DecoderListener_Impl (void) +DecoderListener_Impl::DecoderListener_Impl() { } /* * ~DecoderListener_Impl. */ -DecoderListener_Impl::~DecoderListener_Impl (void) +DecoderListener_Impl::~DecoderListener_Impl() { } @@ -456,7 +456,7 @@ sal_Bool SAL_CALL DecoderListener_Impl::queryInterface ( /* * XInterface: acquire. */ -void SAL_CALL DecoderListener_Impl::acquire (void) throw(RuntimeException) +void SAL_CALL DecoderListener_Impl::acquire() throw(RuntimeException) { OWeakObject::acquire(); } @@ -464,7 +464,7 @@ void SAL_CALL DecoderListener_Impl::acquire (void) throw(RuntimeException) /* * XInterface: release. */ -void SAL_CALL DecoderListener_Impl::release (void) throw(RuntimeException) +void SAL_CALL DecoderListener_Impl::release() throw(RuntimeException) { OWeakObject::release(); } |