diff options
Diffstat (limited to 'include')
97 files changed, 346 insertions, 346 deletions
diff --git a/include/basegfx/vector/b3dvector.hxx b/include/basegfx/vector/b3dvector.hxx index d7e5229b130b..cef199fc8913 100644 --- a/include/basegfx/vector/b3dvector.hxx +++ b/include/basegfx/vector/b3dvector.hxx @@ -121,7 +121,7 @@ namespace basegfx @return The Length of the 3D Vector */ - double getLength(void) const + double getLength() const { double fLen(scalar(*this)); if((0.0 == fLen) || (1.0 == fLen)) @@ -133,7 +133,7 @@ namespace basegfx @return The XY-Plane Length of the 3D Vector */ - double getXYLength(void) const + double getXYLength() const { double fLen((mfX * mfX) + (mfY * mfY)); if((0.0 == fLen) || (1.0 == fLen)) @@ -145,7 +145,7 @@ namespace basegfx @return The XZ-Plane Length of the 3D Vector */ - double getXZLength(void) const + double getXZLength() const { double fLen((mfX * mfX) + (mfZ * mfZ)); // #i73040# if((0.0 == fLen) || (1.0 == fLen)) @@ -157,7 +157,7 @@ namespace basegfx @return The YZ-Plane Length of the 3D Vector */ - double getYZLength(void) const + double getYZLength() const { double fLen((mfY * mfY) + (mfZ * mfZ)); if((0.0 == fLen) || (1.0 == fLen)) diff --git a/include/basegfx/vector/b3ivector.hxx b/include/basegfx/vector/b3ivector.hxx index 0e4700c21451..cbc1db790189 100644 --- a/include/basegfx/vector/b3ivector.hxx +++ b/include/basegfx/vector/b3ivector.hxx @@ -119,7 +119,7 @@ namespace basegfx @return The Length of the 3D Vector */ - double getLength(void) const + double getLength() const { double fLen(scalar(*this)); if((0 == fLen) || (1.0 == fLen)) @@ -131,7 +131,7 @@ namespace basegfx @return The XY-Plane Length of the 3D Vector */ - double getXYLength(void) const + double getXYLength() const { double fLen((mnX * mnX) + (mnY * mnY)); if((0 == fLen) || (1.0 == fLen)) @@ -143,7 +143,7 @@ namespace basegfx @return The XZ-Plane Length of the 3D Vector */ - double getXZLength(void) const + double getXZLength() const { double fLen((mnX * mnZ) + (mnY * mnZ)); if((0 == fLen) || (1.0 == fLen)) @@ -155,7 +155,7 @@ namespace basegfx @return The YZ-Plane Length of the 3D Vector */ - double getYZLength(void) const + double getYZLength() const { double fLen((mnY * mnY) + (mnZ * mnZ)); if((0 == fLen) || (1.0 == fLen)) diff --git a/include/basic/sbmeth.hxx b/include/basic/sbmeth.hxx index 002589c006ab..70e61c68754d 100644 --- a/include/basic/sbmeth.hxx +++ b/include/basic/sbmeth.hxx @@ -82,7 +82,7 @@ public: , mxImplMeth( pImplMeth ) {} virtual ~SbIfaceMapperMethod(); - SbMethod* getImplMethod( void ) + SbMethod* getImplMethod() { return mxImplMeth; } }; diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx index 9f2a5d82af03..dedae3a3aaaf 100644 --- a/include/basic/sbmod.hxx +++ b/include/basic/sbmod.hxx @@ -83,7 +83,7 @@ protected: void ClearPrivateVars(); void ClearVarsDependingOnDeletedBasic( StarBASIC* pDeletedBasic ); void GlobalRunInit( bool bBasicStart ); // for all modules - void GlobalRunDeInit( void ); + void GlobalRunDeInit(); const sal_uInt8* FindNextStmnt( const sal_uInt8*, sal_uInt16&, sal_uInt16& ) const; const sal_uInt8* FindNextStmnt( const sal_uInt8*, sal_uInt16&, sal_uInt16&, bool bFollowJumps, const SbiImage* pImg=NULL ) const; @@ -158,11 +158,11 @@ public: virtual void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) SAL_OVERRIDE; - SbModule* getClassModule( void ) + SbModule* getClassModule() { return mpClassModule; } - void triggerInitializeEvent( void ); - void triggerTerminateEvent( void ); + void triggerInitializeEvent(); + void triggerTerminateEvent(); }; #endif diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx index 327027bee041..c0b84019e1f7 100644 --- a/include/basic/sbstar.hxx +++ b/include/basic/sbstar.hxx @@ -129,8 +129,8 @@ public: SbModule* FindModule( const OUString& ); // Run init code of all modules (including the inserted Doc-Basics) void InitAllModules( StarBASIC* pBasicNotToInit = NULL ); - void DeInitAllModules( void ); - void ClearAllModuleVars( void ); + void DeInitAllModules(); + void ClearAllModuleVars(); // Calls for error and break handler static sal_uInt16 GetLine(); @@ -157,7 +157,7 @@ public: Link GetBreakHdl() const { return aBreakHdl; } void SetBreakHdl( const Link& r ) { aBreakHdl = r; } - SbxArrayRef getUnoListeners( void ); + SbxArrayRef getUnoListeners(); static SbxBase* FindSBXInCurrentScope( const OUString& rName ); static SbMethod* GetActiveMethod( sal_uInt16 nLevel = 0 ); @@ -165,7 +165,7 @@ public: void SetVBAEnabled( bool bEnabled ); bool isVBAEnabled(); - SbxObjectRef getRTL( void ) { return pRtl; } + SbxObjectRef getRTL() { return pRtl; } bool IsDocBasic() { return bDocBasic; } SbxVariable* VBAFind( const OUString& rName, SbxClassType t ); bool GetUNOConstant( const sal_Char* _pAsciiName, ::com::sun::star::uno::Any& aOut ); diff --git a/include/basic/sbxfac.hxx b/include/basic/sbxfac.hxx index 698e582e692e..95139d538c64 100644 --- a/include/basic/sbxfac.hxx +++ b/include/basic/sbxfac.hxx @@ -33,7 +33,7 @@ class BASIC_DLLPUBLIC SbxFactory public: virtual ~SbxFactory(); SbxFactory( bool bLast=false ) { bHandleLast = bLast; } - bool IsHandleLast( void ) { return bHandleLast; } + bool IsHandleLast() { return bHandleLast; } virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ); virtual SbxObject* CreateObject( const OUString& ); }; diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx index 56c1dfd3c5da..5ac8d733244b 100644 --- a/include/basic/sbxvar.hxx +++ b/include/basic/sbxvar.hxx @@ -293,7 +293,7 @@ class BASIC_DLLPUBLIC SbxVariable : public SbxValue SbxArrayRef mpPar; // Parameter-Array, if set sal_uInt16 nHash; // Hash-ID for search - BASIC_DLLPRIVATE SbxVariableImpl* getImpl( void ); + BASIC_DLLPRIVATE SbxVariableImpl* getImpl(); protected: SbxInfoRef pInfo; // Probably called information @@ -340,11 +340,11 @@ public: SbxObject* GetParent() { return pParent;} virtual void SetParent( SbxObject* ); - const OUString& GetDeclareClassName( void ); + const OUString& GetDeclareClassName(); void SetDeclareClassName( const OUString& ); void SetComListener( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xComListener, StarBASIC* pParentBasic ); - void ClearComListener( void ); + void ClearComListener(); static sal_uInt16 MakeHashCode( const OUString& rName ); }; diff --git a/include/comphelper/attributelist.hxx b/include/comphelper/attributelist.hxx index 483a7d8a6535..e359b0b5dbb8 100644 --- a/include/comphelper/attributelist.hxx +++ b/include/comphelper/attributelist.hxx @@ -44,7 +44,7 @@ public: void AddAttribute( const OUString &sName , const OUString &sType , const OUString &sValue ); // ::com::sun::star::xml::sax::XAttributeList - virtual sal_Int16 SAL_CALL getLength(void) + virtual sal_Int16 SAL_CALL getLength() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual OUString SAL_CALL getNameByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/include/connectivity/sdbcx/VCatalog.hxx b/include/connectivity/sdbcx/VCatalog.hxx index ef2d3b8be7e0..264cc33e1568 100644 --- a/include/connectivity/sdbcx/VCatalog.hxx +++ b/include/connectivity/sdbcx/VCatalog.hxx @@ -103,7 +103,7 @@ namespace connectivity // the other refresh methods come from base classes IRefreshableGroups and IRefreshableUsers // ::cppu::OComponentHelper - virtual void SAL_CALL disposing(void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; // XInterface void SAL_CALL acquire() throw() SAL_OVERRIDE; void SAL_CALL release() throw() SAL_OVERRIDE; diff --git a/include/connectivity/sdbcx/VCollection.hxx b/include/connectivity/sdbcx/VCollection.hxx index 3cde90b277a4..e7838979bf32 100644 --- a/include/connectivity/sdbcx/VCollection.hxx +++ b/include/connectivity/sdbcx/VCollection.hxx @@ -185,7 +185,7 @@ namespace connectivity void renameObject(const OUString& _sOldName, const OUString& _sNewName); // only the name is identical to ::cppu::OComponentHelper - virtual void SAL_CALL disposing(void); + virtual void SAL_CALL disposing(); // dispatch the refcounting to the parent virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; virtual void SAL_CALL release() throw() SAL_OVERRIDE; diff --git a/include/connectivity/sdbcx/VColumn.hxx b/include/connectivity/sdbcx/VColumn.hxx index 20c2bd6ce684..317436242e7b 100644 --- a/include/connectivity/sdbcx/VColumn.hxx +++ b/include/connectivity/sdbcx/VColumn.hxx @@ -101,7 +101,7 @@ namespace connectivity // ODescriptor virtual void construct() SAL_OVERRIDE; // ::cppu::OComponentHelper - virtual void SAL_CALL disposing(void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; // XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XNamed diff --git a/include/connectivity/sdbcx/VGroup.hxx b/include/connectivity/sdbcx/VGroup.hxx index fabb75ade8f4..b4223b01d42f 100644 --- a/include/connectivity/sdbcx/VGroup.hxx +++ b/include/connectivity/sdbcx/VGroup.hxx @@ -79,7 +79,7 @@ namespace connectivity virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::cppu::OComponentHelper - virtual void SAL_CALL disposing(void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; // XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XUsersSupplier diff --git a/include/connectivity/sdbcx/VIndex.hxx b/include/connectivity/sdbcx/VIndex.hxx index f5e85edc5304..d07a498b025b 100644 --- a/include/connectivity/sdbcx/VIndex.hxx +++ b/include/connectivity/sdbcx/VIndex.hxx @@ -86,7 +86,7 @@ namespace connectivity // ODescriptor virtual void construct() SAL_OVERRIDE; // ::cppu::OComponentHelper - virtual void SAL_CALL disposing(void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; // XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XColumnsSupplier diff --git a/include/connectivity/sdbcx/VTable.hxx b/include/connectivity/sdbcx/VTable.hxx index 2e0f86af887e..4f1882cfb539 100644 --- a/include/connectivity/sdbcx/VTable.hxx +++ b/include/connectivity/sdbcx/VTable.hxx @@ -110,7 +110,7 @@ namespace connectivity virtual void refreshKeys(); virtual void refreshIndexes(); // ::cppu::OComponentHelper - virtual void SAL_CALL disposing(void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; // XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XColumnsSupplier @@ -121,7 +121,7 @@ namespace connectivity virtual OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XDataDescriptorFactory - virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL createDataDescriptor( void ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL createDataDescriptor() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XIndexesSupplier virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getIndexes( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XRename diff --git a/include/connectivity/sdbcx/VUser.hxx b/include/connectivity/sdbcx/VUser.hxx index 125ff4a84509..3b8287323a55 100644 --- a/include/connectivity/sdbcx/VUser.hxx +++ b/include/connectivity/sdbcx/VUser.hxx @@ -69,7 +69,7 @@ namespace connectivity DECLARE_SERVICE_INFO(); // ::cppu::OComponentHelper - virtual void SAL_CALL disposing(void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; //XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; diff --git a/include/connectivity/sqlbison_exports.hxx b/include/connectivity/sqlbison_exports.hxx index 0ec8c936963c..662c5045a1ee 100644 --- a/include/connectivity/sqlbison_exports.hxx +++ b/include/connectivity/sqlbison_exports.hxx @@ -15,7 +15,7 @@ #include <connectivity/sqlnode.hxx> OUString ConvertLikeToken(const ::connectivity::OSQLParseNode* pTokenNode, const ::connectivity::OSQLParseNode* pEscapeNode, bool bInternational); -int SQLyyparse (void); +int SQLyyparse(); void setParser( ::connectivity::OSQLParser* ); #endif // INCLUDED_CONNECTIVITY_SQLBISON_EXPORTS_HXX diff --git a/include/connectivity/sqlscan.hxx b/include/connectivity/sqlscan.hxx index d89949acae17..3e79e2141874 100644 --- a/include/connectivity/sqlscan.hxx +++ b/include/connectivity/sqlscan.hxx @@ -53,10 +53,10 @@ namespace connectivity inline static void SAL_CALL operator delete( void *,void* ) { } - sal_Int32 SQLyygetc(void); + sal_Int32 SQLyygetc(); void SQLyyerror(char const *fmt); void output(sal_Int32) { OSL_FAIL("Internal error in sdblex.l: output not possible"); } - void ECHO(void) { OSL_FAIL("Internal error in sdblex.l: ECHO not possible"); } + void ECHO() { OSL_FAIL("Internal error in sdblex.l: ECHO not possible"); } IParseContext::InternationalKeyCode getInternationalTokenID(const char* sToken) const; // setting the new information before scanning diff --git a/include/cppu/Enterable.hxx b/include/cppu/Enterable.hxx index 2c20986da680..4670ab52d49e 100644 --- a/include/cppu/Enterable.hxx +++ b/include/cppu/Enterable.hxx @@ -36,8 +36,8 @@ class Enterable : public uno_Enterable public: /* These methods need to be implemented in a derived class. */ - virtual void v_enter (void) = 0; - virtual void v_leave (void) = 0; + virtual void v_enter() = 0; + virtual void v_leave() = 0; virtual void v_callInto_v(uno_EnvCallee * pCallee, va_list * pParam) = 0; virtual void v_callOut_v (uno_EnvCallee * pCallee, va_list * pParam) = 0; virtual bool v_isValid (rtl::OUString * pReason) = 0; @@ -45,10 +45,10 @@ public: virtual ~Enterable() {} public: - inline explicit Enterable(void); + inline explicit Enterable(); - inline void enter(void) {m_enter(this);} - inline void leave(void) {m_leave(this);} + inline void enter() {m_enter(this);} + inline void leave() {m_leave(this);} inline void callInto_v(uno_EnvCallee * pCallee, va_list * pParam) {m_callInto_v(this, pCallee, pParam);} inline void callOut_v (uno_EnvCallee * pCallee, va_list * pParam) {m_callOut_v (this, pCallee, pParam);} @@ -73,7 +73,7 @@ extern "C" inline int Enterable_call_isValid (void * context, rtl_uString ** {return static_cast<Enterable *>(context)->v_isValid(reinterpret_cast<rtl::OUString *>(pReason));} -Enterable::Enterable(void) +Enterable::Enterable() { m_enter = Enterable_call_enter; m_leave = Enterable_call_leave; diff --git a/include/cppuhelper/propshlp.hxx b/include/cppuhelper/propshlp.hxx index 933e002c0a33..d7a641561c14 100644 --- a/include/cppuhelper/propshlp.hxx +++ b/include/cppuhelper/propshlp.hxx @@ -77,7 +77,7 @@ public: /** Return the sequence of properties. The sequence is sorted by name. */ - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties(void) = 0; + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties() = 0; /** Return the property with the name rPropertyName. @param rPropertyName the name of the property. @@ -157,7 +157,7 @@ public: /** Return the sequence of properties. The sequence is sorted by name. */ - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties(void) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties() SAL_OVERRIDE; /** Return the property with the name rPropertyName. @param rPropertyName the name of the property. diff --git a/include/dbaccess/IController.hxx b/include/dbaccess/IController.hxx index 6bc22d9d75e5..87679fcd54eb 100644 --- a/include/dbaccess/IController.hxx +++ b/include/dbaccess/IController.hxx @@ -115,7 +115,7 @@ namespace dbaui the controller does not have an own model. */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > - getXController(void) throw( ::com::sun::star::uno::RuntimeException ) = 0; + getXController() throw( ::com::sun::star::uno::RuntimeException ) = 0; /** allows interception of user input, aka mouse clicks and key events */ diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx index 2b6ae5c37452..4dffac9b87f7 100644 --- a/include/dbaccess/genericcontroller.hxx +++ b/include/dbaccess/genericcontroller.hxx @@ -468,10 +468,10 @@ namespace dbaui virtual void SAL_CALL attachFrame(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & xFrame) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL attachModel(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xModel) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE = 0; - virtual ::com::sun::star::uno::Any SAL_CALL getViewData(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Any SAL_CALL getViewData() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL restoreViewData(const ::com::sun::star::uno::Any& Data) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL getModel(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > SAL_CALL getFrame(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL getModel() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > SAL_CALL getFrame() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // ::com::sun::star::frame::XDispatch virtual void SAL_CALL dispatch(const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -479,9 +479,9 @@ namespace dbaui virtual void SAL_CALL removeStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & aListener, const ::com::sun::star::util::URL& aURL) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::frame::XDispatchProviderInterceptor - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider(void) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setSlaveDispatchProvider(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > & _xNewProvider) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider(void) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setMasterDispatchProvider(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > & _xNewProvider) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::frame::XDispatchProvider diff --git a/include/editeng/AccessibleComponentBase.hxx b/include/editeng/AccessibleComponentBase.hxx index 9e866fc5bb5a..9ea6d004069d 100644 --- a/include/editeng/AccessibleComponentBase.hxx +++ b/include/editeng/AccessibleComponentBase.hxx @@ -43,8 +43,8 @@ class EDITENG_DLLPUBLIC AccessibleComponentBase { public: //===== internal ======================================================== - AccessibleComponentBase (void); - virtual ~AccessibleComponentBase (void); + AccessibleComponentBase(); + virtual ~AccessibleComponentBase(); //===== XAccessibleComponent ================================================ @@ -67,25 +67,25 @@ public: /** The default implementation returns an empty rectangle. */ - virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds (void) + virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** The default implementation uses the result of <member>getBounds</member> to determine the location. */ - virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void) + virtual ::com::sun::star::awt::Point SAL_CALL getLocation() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** The default implementation returns an empty position, i.e. the * result of the default constructor of com::sun::star::awt::Point. */ - virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void) + virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** The default implementation uses the result of <member>getBounds</member> to determine the size. */ - virtual ::com::sun::star::awt::Size SAL_CALL getSize (void) + virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** The default implementation ignores this call. @@ -103,33 +103,33 @@ public: /** The default implementation does nothing. */ - virtual void SAL_CALL grabFocus (void) + virtual void SAL_CALL grabFocus() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns black as the default foreground color. */ - virtual sal_Int32 SAL_CALL getForeground (void) + virtual sal_Int32 SAL_CALL getForeground() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns white as the default background color. */ - virtual sal_Int32 SAL_CALL getBackground (void) + virtual sal_Int32 SAL_CALL getBackground() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XAccessibleExtendedComponent ==================================== virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont > SAL_CALL - getFont (void) + getFont() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual OUString SAL_CALL getTitledBorderText (void) + virtual OUString SAL_CALL getTitledBorderText() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual OUString SAL_CALL getToolTipText (void) + virtual OUString SAL_CALL getToolTipText() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XTypeProvider =================================================== virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL - getTypes (void) + getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception); }; diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx index f50aa485413c..99ebeb8b7f01 100644 --- a/include/editeng/AccessibleContextBase.hxx +++ b/include/editeng/AccessibleContextBase.hxx @@ -76,7 +76,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible>& rxParent, const sal_Int16 aRole); - virtual ~AccessibleContextBase (void); + virtual ~AccessibleContextBase(); /** Call all accessiblity event listeners to inform them about the @@ -175,14 +175,14 @@ public: /// Return the XAccessibleContext. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL - getAccessibleContext (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + getAccessibleContext() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XAccessibleContext ============================================== /// Return the number of currently visible children. virtual sal_Int32 SAL_CALL - getAccessibleChildCount (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + getAccessibleChildCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the specified child or throw exception. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL @@ -191,46 +191,46 @@ public: /// Return a reference to the parent. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL - getAccessibleParent (void) + getAccessibleParent() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return this objects index among the parents children. virtual sal_Int32 SAL_CALL - getAccessibleIndexInParent (void) + getAccessibleIndexInParent() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return this object's role. virtual sal_Int16 SAL_CALL - getAccessibleRole (void) + getAccessibleRole() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return this object's description. virtual OUString SAL_CALL - getAccessibleDescription (void) + getAccessibleDescription() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the object's current name. virtual OUString SAL_CALL - getAccessibleName (void) + getAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return NULL to indicate that an empty relation set. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL - getAccessibleRelationSet (void) + getAccessibleRelationSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet (void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Return the parents locale or throw exception if this object has no parent yet/anymore. */ virtual ::com::sun::star::lang::Locale SAL_CALL - getLocale (void) + getLocale() throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::accessibility::IllegalAccessibleComponentStateException, std::exception) SAL_OVERRIDE; @@ -254,7 +254,7 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName (void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Return whether the specified service is supported by this class. @@ -267,7 +267,7 @@ public: the AccessibleContext service. */ virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames (void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -276,13 +276,13 @@ public: /** Returns a sequence of all supported interfaces. */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL - getTypes (void) + getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId (void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: @@ -298,7 +298,7 @@ protected: ::com::sun::star::accessibility::XAccessibleRelationSet> mxRelationSet; // This method is called from the component helper base class while disposing. - virtual void SAL_CALL disposing (void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; /** Create the accessible object's name. This method may be called more than once for a single object. @@ -306,7 +306,7 @@ protected: The returned string is a unique (among the accessible object's siblings) name. */ - virtual OUString CreateAccessibleName (void) + virtual OUString CreateAccessibleName() throw (::com::sun::star::uno::RuntimeException); /** Create the accessible object's descriptive string. May be called @@ -315,7 +315,7 @@ protected: Descriptive string. Not necessarily unique. */ virtual OUString - CreateAccessibleDescription (void) + CreateAccessibleDescription() throw (::com::sun::star::uno::RuntimeException); void FireEvent (const ::com::sun::star::accessibility::AccessibleEventObject& aEvent); @@ -325,7 +325,7 @@ protected: DisposedException is thrown to inform the (indirect) caller of the foul deed. */ - void ThrowIfDisposed (void) + void ThrowIfDisposed() throw (::com::sun::star::lang::DisposedException); /** Check whether or not the object has been disposed (or is in the @@ -334,7 +334,7 @@ protected: @return TRUE, if the object is disposed or in the course of being disposed. Otherwise, FALSE is returned. */ - bool IsDisposed (void); + bool IsDisposed(); /** sets the role as returned by XaccessibleContext::getAccessibleRole diff --git a/include/editeng/AccessibleEditableTextPara.hxx b/include/editeng/AccessibleEditableTextPara.hxx index 79c32f8078da..6412986d6365 100644 --- a/include/editeng/AccessibleEditableTextPara.hxx +++ b/include/editeng/AccessibleEditableTextPara.hxx @@ -162,12 +162,12 @@ namespace accessibility virtual ::sal_Int32 SAL_CALL getNumberOfLineWithCaret( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XServiceInfo - virtual OUString SAL_CALL getImplementationName (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService (const OUString& sServiceName) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XServiceName - static OUString SAL_CALL getServiceName (void) throw (::com::sun::star::uno::RuntimeException); + static OUString SAL_CALL getServiceName() throw (::com::sun::star::uno::RuntimeException); /** Set the current index in the accessibility parent diff --git a/include/editeng/AccessibleImageBullet.hxx b/include/editeng/AccessibleImageBullet.hxx index 9e55e69bd9a7..79f2dbf56dd4 100644 --- a/include/editeng/AccessibleImageBullet.hxx +++ b/include/editeng/AccessibleImageBullet.hxx @@ -89,9 +89,9 @@ namespace accessibility virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XServiceInfo - virtual OUString SAL_CALL getImplementationName (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService (const OUString& sServiceName) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Set the current index in the accessibility parent diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index 736d1268e748..f3d239604568 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -284,9 +284,9 @@ public: const ESelection& GetSelection() const throw() { CheckSelection( const_cast<SvxUnoTextRangeBase*>(this)->maSelection, mpEditSource->GetTextForwarder() ); return maSelection; }; void SetSelection( const ESelection& rSelection ) throw(); - void CollapseToStart(void) throw(); - void CollapseToEnd(void) throw(); - bool IsCollapsed(void) throw(); + void CollapseToStart() throw(); + void CollapseToEnd() throw(); + bool IsCollapsed() throw(); bool GoLeft(sal_Int16 nCount, bool Expand) throw(); bool GoRight(sal_Int16 nCount, bool Expand) throw(); void GotoStart(bool Expand) throw(); diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index a9a9f3505eb5..94db141ac20d 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -683,10 +683,10 @@ public: const Rectangle& rClientRect, const Rectangle& rGlobalChildRect ); - inline const SvxMSDffShapeInfos_ById* GetShapeInfos( void ) const + inline const SvxMSDffShapeInfos_ById* GetShapeInfos() const { return m_xShapeInfosById.get(); } - inline SvxMSDffShapeOrders* GetShapeOrders( void ) const + inline SvxMSDffShapeOrders* GetShapeOrders() const { return pShapeOrders; } void StoreShapeOrder(sal_uLong nId, diff --git a/include/helpcompiler/compilehelp.hxx b/include/helpcompiler/compilehelp.hxx index 6d7e191d7865..c9643ac0c28a 100644 --- a/include/helpcompiler/compilehelp.hxx +++ b/include/helpcompiler/compilehelp.hxx @@ -46,7 +46,7 @@ struct HelpProcessingErrorInfo OUString m_aXMLParsingFile; sal_Int32 m_nXMLParsingLine; - HelpProcessingErrorInfo( void ) + HelpProcessingErrorInfo() : m_eErrorClass( HELPPROCESSING_NO_ERROR ) , m_nXMLParsingLine( -1 ) {} diff --git a/include/registry/reflread.hxx b/include/registry/reflread.hxx index cf541396b752..1f4938e840e9 100644 --- a/include/registry/reflread.hxx +++ b/include/registry/reflread.hxx @@ -83,7 +83,7 @@ struct RegistryTypeReader_Api /** the API initialization function. */ -REG_DLLPUBLIC RegistryTypeReader_Api* TYPEREG_CALLTYPE initRegistryTypeReader_Api(void); +REG_DLLPUBLIC RegistryTypeReader_Api* TYPEREG_CALLTYPE initRegistryTypeReader_Api(); #ifdef __cplusplus } diff --git a/include/registry/reflwrit.hxx b/include/registry/reflwrit.hxx index 57551dfbf703..795628a336e9 100644 --- a/include/registry/reflwrit.hxx +++ b/include/registry/reflwrit.hxx @@ -62,7 +62,7 @@ struct RegistryTypeWriter_Api /** the API initialization function. */ -REG_DLLPUBLIC RegistryTypeWriter_Api* TYPEREG_CALLTYPE initRegistryTypeWriter_Api(void); +REG_DLLPUBLIC RegistryTypeWriter_Api* TYPEREG_CALLTYPE initRegistryTypeWriter_Api(); #ifdef __cplusplus } diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx index 948509bce87f..128adca9d0d3 100644 --- a/include/registry/registry.hxx +++ b/include/registry/registry.hxx @@ -74,7 +74,7 @@ struct Registry_Api /** the API initialization function. */ -REG_DLLPUBLIC Registry_Api* REGISTRY_CALLTYPE initRegistry_Api(void); +REG_DLLPUBLIC Registry_Api* REGISTRY_CALLTYPE initRegistry_Api(); #ifdef __cplusplus } diff --git a/include/sax/tools/documenthandleradapter.hxx b/include/sax/tools/documenthandleradapter.hxx index aedb236349bf..74c3df92640a 100644 --- a/include/sax/tools/documenthandleradapter.hxx +++ b/include/sax/tools/documenthandleradapter.hxx @@ -29,13 +29,13 @@ namespace sax public: // XDocumentHandler virtual void SAL_CALL - startDocument(void) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE + startDocument() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_handler->startDocument(); } virtual void SAL_CALL - endDocument(void) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE + endDocument() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_handler->endDocument(); } @@ -121,13 +121,13 @@ namespace sax public: // XDocumentHandler virtual void SAL_CALL - startDocument(void) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE + startDocument() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_handler->startDocument(); } virtual void SAL_CALL - endDocument(void) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE + endDocument() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_handler->endDocument(); } @@ -174,12 +174,12 @@ namespace sax } // XExtendedDocumentHandler virtual void SAL_CALL - startCDATA(void) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE + startCDATA() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_handler->startCDATA(); } virtual void SAL_CALL - endCDATA(void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE + endCDATA() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_handler->endCDATA(); } @@ -195,7 +195,7 @@ namespace sax m_handler->unknown(sString); } virtual void SAL_CALL - allowLineBreak(void) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE + allowLineBreak() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_handler->allowLineBreak(); } diff --git a/include/sfx2/sidebar/CommandInfoProvider.hxx b/include/sfx2/sidebar/CommandInfoProvider.hxx index 6eb1ba6c3638..55ce82b8a394 100644 --- a/include/sfx2/sidebar/CommandInfoProvider.hxx +++ b/include/sfx2/sidebar/CommandInfoProvider.hxx @@ -43,7 +43,7 @@ public: Lifetime control should work but could be more elegant. */ - static CommandInfoProvider& Instance (void); + static CommandInfoProvider& Instance(); /** Return a label for the given command. @param rsCommandName @@ -71,13 +71,13 @@ public: ::rtl::OUString msCachedModuleIdentifier; css::uno::Reference<css::lang::XComponent> mxFrameListener; - CommandInfoProvider (void); - ~CommandInfoProvider (void); + CommandInfoProvider(); + ~CommandInfoProvider(); - css::uno::Reference<css::ui::XAcceleratorConfiguration> GetDocumentAcceleratorConfiguration (void); - css::uno::Reference<css::ui::XAcceleratorConfiguration> GetModuleAcceleratorConfiguration (void); - css::uno::Reference<css::ui::XAcceleratorConfiguration> GetGlobalAcceleratorConfiguration(void); - ::rtl::OUString GetModuleIdentifier (void); + css::uno::Reference<css::ui::XAcceleratorConfiguration> GetDocumentAcceleratorConfiguration(); + css::uno::Reference<css::ui::XAcceleratorConfiguration> GetModuleAcceleratorConfiguration(); + css::uno::Reference<css::ui::XAcceleratorConfiguration> GetGlobalAcceleratorConfiguration(); + ::rtl::OUString GetModuleIdentifier(); ::rtl::OUString GetCommandShortcut (const ::rtl::OUString& rCommandName); css::uno::Sequence<css::beans::PropertyValue> GetCommandProperties ( const ::rtl::OUString& rsCommandName); diff --git a/include/sfx2/sidebar/ControllerItem.hxx b/include/sfx2/sidebar/ControllerItem.hxx index f06ae5e9e0a4..7210dea31c3d 100644 --- a/include/sfx2/sidebar/ControllerItem.hxx +++ b/include/sfx2/sidebar/ControllerItem.hxx @@ -91,21 +91,21 @@ public: /** Force the controller item to call its NotifyItemUpdate callback with up-to-date data. */ - void RequestUpdate (void); + void RequestUpdate(); /** Return the label for the command. It contains the keyboard accelerator when one exists. */ - ::rtl::OUString GetLabel (void) const; + ::rtl::OUString GetLabel() const; /** Return the extended help text for the command. Returns an empty string when the UNO command name is not available. */ - ::rtl::OUString GetHelpText (void) const; + ::rtl::OUString GetHelpText() const; /** Return the icon for the command. */ - Image GetIcon (void) const; + Image GetIcon() const; /** Convenience method for setting all relevant properties for the slot/command represented by the called object at the given tool @@ -116,11 +116,11 @@ public: /** Do not call. Used by local class only. Should be a member of a local and hidden interface. */ - void NotifyFrameContextChange (void); + void NotifyFrameContextChange(); /** Do not call. Used by local class only. Should be a member of a local and hidden interface. */ - void ResetFrame (void); + void ResetFrame(); protected: diff --git a/include/sfx2/sidebar/EnumContext.hxx b/include/sfx2/sidebar/EnumContext.hxx index 80e8228484ed..3fc5fda50f22 100644 --- a/include/sfx2/sidebar/EnumContext.hxx +++ b/include/sfx2/sidebar/EnumContext.hxx @@ -102,7 +102,7 @@ public: __LastContextEnum = Context_Unknown }; - EnumContext (void); + EnumContext(); EnumContext ( const Application eApplication, const Context eContext); @@ -142,8 +142,8 @@ private: Application meApplication; Context meContext; - static void ProvideApplicationContainers (void); - static void ProvideContextContainers (void); + static void ProvideApplicationContainers(); + static void ProvideContextContainers(); static void AddEntry (const ::rtl::OUString& rsName, const Application eApplication); static void AddEntry (const ::rtl::OUString& rsName, const Context eContext); }; diff --git a/include/sfx2/sidebar/SidebarPanelBase.hxx b/include/sfx2/sidebar/SidebarPanelBase.hxx index 6215f6d03e64..2f34065a8480 100644 --- a/include/sfx2/sidebar/SidebarPanelBase.hxx +++ b/include/sfx2/sidebar/SidebarPanelBase.hxx @@ -75,20 +75,20 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XUIElement - virtual css::uno::Reference<css::frame::XFrame> SAL_CALL getFrame (void) + virtual css::uno::Reference<css::frame::XFrame> SAL_CALL getFrame() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::rtl::OUString SAL_CALL getResourceURL (void) + virtual ::rtl::OUString SAL_CALL getResourceURL() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual sal_Int16 SAL_CALL getType (void) + virtual sal_Int16 SAL_CALL getType() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getRealInterface (void) + virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getRealInterface() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XToolPanel virtual css::uno::Reference<css::accessibility::XAccessible> SAL_CALL createAccessible ( const css::uno::Reference<css::accessibility::XAccessible>& rxParentAccessible) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual css::uno::Reference<css::awt::XWindow> SAL_CALL getWindow (void) + virtual css::uno::Reference<css::awt::XWindow> SAL_CALL getWindow() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XSidebarPanel @@ -105,9 +105,9 @@ protected: const css::uno::Reference<css::frame::XFrame>& rxFrame, vcl::Window* pWindow, const css::ui::LayoutSize& rLayoutSize); - virtual ~SidebarPanelBase (void); + virtual ~SidebarPanelBase(); - virtual void SAL_CALL disposing (void) + virtual void SAL_CALL disposing() throw (css::uno::RuntimeException) SAL_OVERRIDE; private: diff --git a/include/sfx2/sidebar/SidebarToolBox.hxx b/include/sfx2/sidebar/SidebarToolBox.hxx index 381745da7648..a19e182f648a 100644 --- a/include/sfx2/sidebar/SidebarToolBox.hxx +++ b/include/sfx2/sidebar/SidebarToolBox.hxx @@ -40,7 +40,7 @@ class SFX2_DLLPUBLIC SidebarToolBox { public: SidebarToolBox(vcl::Window* pParentWindow); - virtual ~SidebarToolBox (void); + virtual ~SidebarToolBox(); using ToolBox::InsertItem; virtual void InsertItem(const OUString& rCommand, @@ -87,7 +87,7 @@ private: const sal_uInt16 nItemId, const css::uno::Reference<css::frame::XFrame>& rxFrame, const sal_Int32 nItemWidth = 0); - void RegisterHandlers (void); + void RegisterHandlers(); }; diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx index ba3d49107118..faaa62360793 100644 --- a/include/sfx2/sidebar/Theme.hxx +++ b/include/sfx2/sidebar/Theme.hxx @@ -146,21 +146,21 @@ public: static sal_Int32 GetInteger (const ThemeItem eItem); static bool GetBoolean (const ThemeItem eItem); - static bool IsHighContrastMode (void); + static bool IsHighContrastMode(); - static void HandleDataChange (void); + static void HandleDataChange(); void InitializeTheme(); - Theme (void); - virtual ~Theme (void); + Theme(); + virtual ~Theme(); - virtual void SAL_CALL disposing (void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; - static css::uno::Reference<css::beans::XPropertySet> GetPropertySet (void); + static css::uno::Reference<css::beans::XPropertySet> GetPropertySet(); // beans::XPropertySet - virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo (void) + virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setPropertyValue ( const ::rtl::OUString& rsPropertyName, @@ -199,7 +199,7 @@ public: css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // beans::XPropertySetInfo - virtual css::uno::Sequence<css::beans::Property> SAL_CALL getProperties (void) + virtual css::uno::Sequence<css::beans::Property> SAL_CALL getProperties() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::beans::Property SAL_CALL getPropertyByName (const ::rtl::OUString& rsName) throw(css::beans::UnknownPropertyException, @@ -244,8 +244,8 @@ private: PT_Invalid }; - void SetupPropertyMaps (void); - void UpdateTheme (void); + void SetupPropertyMaps(); + void UpdateTheme(); static PropertyType GetPropertyType (const ThemeItem eItem); static css::uno::Type GetCppuType (const PropertyType eType); static sal_Int32 GetIndex ( diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx index a3237d345bd9..280610ff3e14 100644 --- a/include/sfx2/templdlg.hxx +++ b/include/sfx2/templdlg.hxx @@ -47,7 +47,7 @@ public: virtual void DataChanged( const DataChangedEvent& _rDCEvt ) SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; - void FreeResource (void); + void FreeResource(); private: const std::unique_ptr<SfxTemplateDialog_Impl> pImpl; diff --git a/include/sfx2/titledockwin.hxx b/include/sfx2/titledockwin.hxx index 97fdebc11fd2..61db702d236c 100644 --- a/include/sfx2/titledockwin.hxx +++ b/include/sfx2/titledockwin.hxx @@ -86,7 +86,7 @@ namespace sfx2 /** Return the border that is painted around the inner window as decoration. */ - SvBorder GetDecorationBorder (void) const { return m_aBorder; } + SvBorder GetDecorationBorder() const { return m_aBorder; } protected: // Window overridables diff --git a/include/sot/filelist.hxx b/include/sot/filelist.hxx index e3b063e8860f..1734c12bb79f 100644 --- a/include/sot/filelist.hxx +++ b/include/sot/filelist.hxx @@ -39,7 +39,7 @@ protected: virtual void Assign( const SvDataCopyStream& ) SAL_OVERRIDE; // Liste loeschen; - void ClearAll( void ); + void ClearAll(); public: @@ -57,7 +57,7 @@ public: // Liste fuellen/abfragen void AppendFile( const OUString& rStr ); OUString GetFile( size_t i ) const; - size_t Count( void ) const; + size_t Count() const; }; diff --git a/include/store/store.hxx b/include/store/store.hxx index 85c546564e47..943b73ccd570 100644 --- a/include/store/store.hxx +++ b/include/store/store.hxx @@ -37,13 +37,13 @@ class OStoreStream public: /** Construction. */ - inline OStoreStream (void) + inline OStoreStream() : m_hImpl (0) {} /** Destruction. */ - inline ~OStoreStream (void) + inline ~OStoreStream() { if (m_hImpl) (void) store_releaseHandle (m_hImpl); @@ -81,7 +81,7 @@ public: /** Conversion into Stream Handle. */ - inline operator storeStreamHandle (void) const + inline operator storeStreamHandle() const { return m_hImpl; } @@ -89,7 +89,7 @@ public: /** Check for a valid Stream Handle. @return sal_True if valid, sal_False otherwise. */ - inline bool isValid (void) const + inline bool isValid() const { return (m_hImpl != 0); } @@ -114,7 +114,7 @@ public: /** Close the stream. @see store_closeStream() */ - inline void close (void) + inline void close() { if (m_hImpl) { @@ -156,7 +156,7 @@ public: /** Flush the stream. @see store_flushStream() */ - inline storeError flush (void) const + inline storeError flush() const { if (!m_hImpl) return store_E_InvalidHandle; @@ -202,13 +202,13 @@ class OStoreDirectory public: /** Construction. */ - inline OStoreDirectory (void) + inline OStoreDirectory() : m_hImpl (0) {} /** Destruction. */ - inline ~OStoreDirectory (void) + inline ~OStoreDirectory() { if (m_hImpl) (void) store_releaseHandle (m_hImpl); @@ -246,7 +246,7 @@ public: /** Conversion into Directory Handle. */ - inline operator storeDirectoryHandle(void) const + inline operator storeDirectoryHandle() const { return m_hImpl; } @@ -254,7 +254,7 @@ public: /** Check for a valid Directory Handle. @return sal_True if valid, sal_False otherwise. */ - inline bool isValid (void) const + inline bool isValid() const { return (m_hImpl != 0); } @@ -279,7 +279,7 @@ public: /** Close the directory. @see store_closeDirectory() */ - inline void close (void) + inline void close() { if (m_hImpl) { @@ -332,13 +332,13 @@ class OStoreFile public: /** Construction. */ - inline OStoreFile (void) + inline OStoreFile() : m_hImpl (0) {} /** Destruction. */ - inline ~OStoreFile (void) + inline ~OStoreFile() { if (m_hImpl) (void) store_releaseHandle (m_hImpl); @@ -376,7 +376,7 @@ public: /** Conversion into File Handle. */ - inline operator storeFileHandle (void) const + inline operator storeFileHandle() const { return m_hImpl; } @@ -384,7 +384,7 @@ public: /** Check for a valid File Handle. @return sal_True if valid, sal_False otherwise. */ - inline bool isValid (void) const + inline bool isValid() const { return (m_hImpl != 0); } @@ -422,7 +422,7 @@ public: /** Close the file. @see store_closeFile() */ - inline void close (void) + inline void close() { if (m_hImpl) { @@ -434,7 +434,7 @@ public: /** Flush the file. @see store_flushFile() */ - inline storeError flush (void) const + inline storeError flush() const { if (!m_hImpl) return store_E_InvalidHandle; diff --git a/include/svl/ctloptions.hxx b/include/svl/ctloptions.hxx index d20a4f6cf4c5..0cc0e5b8141a 100644 --- a/include/svl/ctloptions.hxx +++ b/include/svl/ctloptions.hxx @@ -45,7 +45,7 @@ public: bool IsCTLSequenceChecking() const; void SetCTLSequenceCheckingRestricted( bool _bEnable ); - bool IsCTLSequenceCheckingRestricted( void ) const; + bool IsCTLSequenceCheckingRestricted() const; void SetCTLSequenceCheckingTypeAndReplace( bool _bEnable ); bool IsCTLSequenceCheckingTypeAndReplace() const; diff --git a/include/svl/inethist.hxx b/include/svl/inethist.hxx index 0cd3801c5985..b54f8dc426ff 100644 --- a/include/svl/inethist.hxx +++ b/include/svl/inethist.hxx @@ -39,8 +39,8 @@ class SVL_DLLPUBLIC INetURLHistory : public SfxBroadcaster /** Construction/Destruction. */ - SAL_DLLPRIVATE INetURLHistory (void); - SAL_DLLPRIVATE virtual ~INetURLHistory (void); + SAL_DLLPRIVATE INetURLHistory(); + SAL_DLLPRIVATE virtual ~INetURLHistory(); /** Implementation. */ @@ -57,7 +57,7 @@ class SVL_DLLPUBLIC INetURLHistory : public SfxBroadcaster public: /** GetOrCreate. */ - static INetURLHistory* GetOrCreate (void); + static INetURLHistory* GetOrCreate(); /** QueryProtocol. */ diff --git a/include/svtools/accessibleruler.hxx b/include/svtools/accessibleruler.hxx index a3fe1c5a0580..0c286ee73cd2 100644 --- a/include/svtools/accessibleruler.hxx +++ b/include/svtools/accessibleruler.hxx @@ -75,7 +75,7 @@ public: //===== XAccessible ===================================================== virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL - getAccessibleContext( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getAccessibleContext() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; //===== XAccessibleComponent ============================================ @@ -108,35 +108,35 @@ public: //===== XAccessibleContext ============================================== virtual sal_Int32 SAL_CALL - getAccessibleChildCount( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getAccessibleChildCount() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL getAccessibleChild( sal_Int32 nIndex ) throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IndexOutOfBoundsException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL - getAccessibleParent( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getAccessibleParent() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL - getAccessibleIndexInParent( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getAccessibleIndexInParent() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Int16 SAL_CALL - getAccessibleRole( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getAccessibleRole() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::rtl::OUString SAL_CALL - getAccessibleDescription( void ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + getAccessibleDescription() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::rtl::OUString SAL_CALL - getAccessibleName( void ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + getAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL - getAccessibleRelationSet( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getAccessibleRelationSet() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet > SAL_CALL - getAccessibleStateSet( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getAccessibleStateSet() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::lang::Locale SAL_CALL - getLocale( void ) + getLocale() throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::accessibility::IllegalAccessibleComponentStateException, std::exception ) SAL_OVERRIDE; //===== XAccessibleEventBroadcaster ===================================== @@ -150,38 +150,38 @@ public: //===== XServiceInfo ==================================================== virtual ::rtl::OUString SAL_CALL - getImplementationName( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& sServiceName ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL - getSupportedServiceNames( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; //===== XTypeProvider =================================================== virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId( void ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + getImplementationId() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; protected: /// @Return the object's current bounding box relative to the desktop. - Rectangle GetBoundingBoxOnScreen( void ) throw( ::com::sun::star::uno::RuntimeException ); + Rectangle GetBoundingBoxOnScreen() throw( ::com::sun::star::uno::RuntimeException ); /// @Return the object's current bounding box relative to the parent object. - Rectangle GetBoundingBox( void ) throw( ::com::sun::star::uno::RuntimeException ); + Rectangle GetBoundingBox() throw( ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL disposing() SAL_OVERRIDE; /// @returns true if it's disposed or in disposing - inline bool IsAlive( void ) const; + inline bool IsAlive() const; /// @returns true if it's not disposed and no in disposing - inline bool IsNotAlive( void ) const; + inline bool IsNotAlive() const; /// throws the exception DisposedException if it's not alive - void ThrowExceptionIfNotAlive( void ) throw( ::com::sun::star::lang::DisposedException ); + void ThrowExceptionIfNotAlive() throw( ::com::sun::star::lang::DisposedException ); private: /** Description of this object. This is not a constant because it can @@ -206,12 +206,12 @@ private: }; -inline bool SvtRulerAccessible::IsAlive( void ) const +inline bool SvtRulerAccessible::IsAlive() const { return !rBHelper.bDisposed && !rBHelper.bInDispose; } -inline bool SvtRulerAccessible::IsNotAlive( void ) const +inline bool SvtRulerAccessible::IsNotAlive() const { return rBHelper.bDisposed || rBHelper.bInDispose; } diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx index d382a9d6e34b..55af3e0e948e 100644 --- a/include/svtools/ctrlbox.hxx +++ b/include/svtools/ctrlbox.hxx @@ -291,7 +291,7 @@ class SVT_DLLPUBLIC LineListBox : public ListBox sal_uInt16 nStyle, Bitmap& rBmp ); using Window::ImplInit; SVT_DLLPRIVATE void ImplInit(); - bool UpdatePaintLineColor( void ); // returns sal_True if maPaintCol has changed + bool UpdatePaintLineColor(); // returns sal_True if maPaintCol has changed virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; void UpdateEntries( long nOldWidth ); @@ -347,7 +347,7 @@ public: protected: - inline const Color& GetPaintColor( void ) const; + inline const Color& GetPaintColor() const; Color GetColorLine1( sal_Int32 nPos = 0 ); Color GetColorLine2( sal_Int32 nPos = 0 ); Color GetColorDist( sal_Int32 nPos = 0 ); @@ -366,7 +366,7 @@ inline void LineListBox::SetColor( const Color& rColor ) UpdateEntries( m_nWidth ); } -const Color& LineListBox::GetPaintColor( void ) const +const Color& LineListBox::GetPaintColor() const { return maPaintCol; } diff --git a/include/svtools/svlbitm.hxx b/include/svtools/svlbitm.hxx index 263e7a04cd3c..8e9f6321a78b 100644 --- a/include/svtools/svlbitm.hxx +++ b/include/svtools/svlbitm.hxx @@ -99,7 +99,7 @@ public: void SetDefaultImages( const Control* pControlForSettings = NULL ); // set images according to the color scheeme of the Control // pControlForSettings == NULL: settings are taken from Application - bool HasDefaultImages( void ) const; + bool HasDefaultImages() const; }; // ********************************************************************** diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx index 521622058303..43c7e0a6b330 100644 --- a/include/svtools/svparser.hxx +++ b/include/svtools/svparser.hxx @@ -210,7 +210,7 @@ class SvKeyValue public: /** Construction. */ - SvKeyValue (void) + SvKeyValue() {} SvKeyValue (const OUString &rKey, const OUString &rValue) @@ -232,8 +232,8 @@ public: /** Operation. */ - const OUString& GetKey (void) const { return m_aKey; } - const OUString& GetValue (void) const { return m_aValue; } + const OUString& GetKey() const { return m_aKey; } + const OUString& GetValue() const { return m_aValue; } void SetKey (const OUString &rKey ) { m_aKey = rKey; } void SetValue (const OUString &rValue) { m_aValue = rValue; } diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index f7c1af30cc4b..0af36c9584a8 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -764,10 +764,10 @@ public: void ShowFocusRect( const SvTreeListEntry* pEntry ); void InitStartEntry(); - virtual PopupMenu* CreateContextMenu( void ); + virtual PopupMenu* CreateContextMenu(); virtual void ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry ); - void EnableContextMenuHandling( void ); + void EnableContextMenuHandling(); void EnableList( bool _bEnable ); diff --git a/include/svtools/unoevent.hxx b/include/svtools/unoevent.hxx index cdcfb2e9702e..046ae558d137 100644 --- a/include/svtools/unoevent.hxx +++ b/include/svtools/unoevent.hxx @@ -126,7 +126,7 @@ public: // XServiceInfo /// must be implemented in subclass - virtual OUString SAL_CALL getImplementationName(void) + virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE = 0; // XServiceInfo @@ -135,7 +135,7 @@ public: // XServiceInfo virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL - getSupportedServiceNames(void) + getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; protected: @@ -263,7 +263,7 @@ public: virtual ~SvDetachedEventDescriptor(); //XServiceInfo - virtual OUString SAL_CALL getImplementationName(void) + virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; protected: diff --git a/include/svx/AccessibleGraphicShape.hxx b/include/svx/AccessibleGraphicShape.hxx index 3e8d46fee679..6245f5297ba4 100644 --- a/include/svx/AccessibleGraphicShape.hxx +++ b/include/svx/AccessibleGraphicShape.hxx @@ -41,17 +41,17 @@ public: const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo); - virtual ~AccessibleGraphicShape (void); + virtual ~AccessibleGraphicShape(); //===== XAccessibleImage ================================================ - OUString SAL_CALL getAccessibleImageDescription (void) + OUString SAL_CALL getAccessibleImageDescription() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - sal_Int32 SAL_CALL getAccessibleImageHeight (void) + sal_Int32 SAL_CALL getAccessibleImageHeight() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - sal_Int32 SAL_CALL getAccessibleImageWidth (void) + sal_Int32 SAL_CALL getAccessibleImageWidth() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XInterface ====================================================== @@ -61,11 +61,11 @@ public: throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL - acquire (void) + acquire() throw () SAL_OVERRIDE; virtual void SAL_CALL - release (void) + release() throw () SAL_OVERRIDE; //===== XServiceInfo ==================================================== @@ -73,20 +73,20 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName (void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames (void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XTypeProvider =================================================== virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL - getTypes (void) + getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return this object's role. - virtual sal_Int16 SAL_CALL getAccessibleRole (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int16 SAL_CALL getAccessibleRole() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: /// Create a name string that contains the accessible name. virtual OUString diff --git a/include/svx/AccessibleOLEShape.hxx b/include/svx/AccessibleOLEShape.hxx index 943639851b8f..4591edd939f2 100644 --- a/include/svx/AccessibleOLEShape.hxx +++ b/include/svx/AccessibleOLEShape.hxx @@ -41,11 +41,11 @@ public: AccessibleOLEShape ( const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo); - virtual ~AccessibleOLEShape (void); + virtual ~AccessibleOLEShape(); //===== XAccessibleAction =============================================== - sal_Int32 SAL_CALL getAccessibleActionCount (void) + sal_Int32 SAL_CALL getAccessibleActionCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; sal_Bool SAL_CALL doAccessibleAction (sal_Int32 nIndex) @@ -69,27 +69,27 @@ public: throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL - acquire (void) + acquire() throw () SAL_OVERRIDE; virtual void SAL_CALL - release (void) + release() throw () SAL_OVERRIDE; //===== XServiceInfo ==================================================== virtual OUString SAL_CALL - getImplementationName (void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames (void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XTypeProvider =================================================== virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL - getTypes (void) + getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ====== XAccessibleExtendedAttributes ===================================== virtual ::com::sun::star::uno::Any SAL_CALL getExtendedAttributes() throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ; diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx index b51e62b4cee6..d32baf2a8c6b 100644 --- a/include/svx/AccessibleShape.hxx +++ b/include/svx/AccessibleShape.hxx @@ -106,9 +106,9 @@ public: const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo); //Solution: Overwrite the object's current name. - virtual OUString SAL_CALL getAccessibleName (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL getAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getAccessibleDescription() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL getAccessibleRelationSet (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL getAccessibleRelationSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XAccessibleSelection ============================================ virtual void SAL_CALL selectAccessibleChild( @@ -144,7 +144,7 @@ public: virtual ::com::sun::star::uno::Any SAL_CALL getExtendedAttributes() throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ; /// Return this object's role. - virtual sal_Int16 SAL_CALL getAccessibleRole (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int16 SAL_CALL getAccessibleRole() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XAccessibleGroupPosition ========================================= virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL getGroupPosition( const ::com::sun::star::uno::Any& rAny ) @@ -154,12 +154,12 @@ public: /** The destructor releases its children manager and text engine if still existent. These are responsible to send appropriate events. */ - virtual ~AccessibleShape (void); + virtual ~AccessibleShape(); /** Initialize a new shape. See the documentation of the constructor for the reason of this method's existence. */ - virtual void Init (void); + virtual void Init(); /** Compare two accessible shapes using object identity @param rShape @@ -215,7 +215,7 @@ public: /// Return the number of currently visible children. virtual sal_Int32 SAL_CALL - getAccessibleChildCount (void) + getAccessibleChildCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Return the specified child. @@ -236,12 +236,12 @@ public: /// Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet (void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return this objects index among the parents children. virtual sal_Int32 SAL_CALL - getAccessibleIndexInParent (void) + getAccessibleIndexInParent() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XAccessibleComponent ============================================ @@ -251,22 +251,22 @@ public: getAccessibleAtPoint (const ::com::sun::star::awt::Point& aPoint) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds (void) + virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void) + virtual ::com::sun::star::awt::Point SAL_CALL getLocation() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void) + virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::com::sun::star::awt::Size SAL_CALL getSize (void) + virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual sal_Int32 SAL_CALL getForeground (void) + virtual sal_Int32 SAL_CALL getForeground() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual sal_Int32 SAL_CALL getBackground (void) + virtual sal_Int32 SAL_CALL getBackground() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XAccessibleEventBroadcaster ===================================== @@ -304,11 +304,11 @@ public: throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL - acquire (void) + acquire() throw () SAL_OVERRIDE; virtual void SAL_CALL - release (void) + release() throw () SAL_OVERRIDE; @@ -317,17 +317,17 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName (void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames (void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XTypeProvider =================================================== virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL - getTypes (void) + getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== IAccessibleViewForwarderListener ================================ @@ -429,24 +429,24 @@ protected: /** This method is called from the component helper base class while disposing. */ - virtual void SAL_CALL disposing (void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; /** Create a base name string that contains the accessible name. */ virtual OUString - CreateAccessibleBaseName (void) + CreateAccessibleBaseName() throw (::com::sun::star::uno::RuntimeException); /** Create a unique name string that contains the accessible name. The name consists of the base name and the index. */ virtual OUString - CreateAccessibleName (void) + CreateAccessibleName() throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; /// Create a description string that contains the accessible description. virtual OUString - CreateAccessibleDescription (void) + CreateAccessibleDescription() throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; OUString GetFullAccessibleName(AccessibleShape *shape) @@ -456,7 +456,7 @@ protected: ::com::sun::star::accessibility::XAccessibleStateSet > &xStateSet); /** Update the <const>OPAQUE</const> and <const>SELECTED</const> state. */ - void UpdateStates (void); + void UpdateStates(); private: AccessibleShape (const AccessibleShape&) SAL_DELETED_FUNCTION; @@ -469,7 +469,7 @@ private: This method adapts the name and description members of the AccessibleContextBase base class. */ - void UpdateNameAndDescription (void); + void UpdateNameAndDescription(); }; } // end of namespace accessibility diff --git a/include/svx/AccessibleShapeInfo.hxx b/include/svx/AccessibleShapeInfo.hxx index d8591fcb1470..0c75bc914b9b 100644 --- a/include/svx/AccessibleShapeInfo.hxx +++ b/include/svx/AccessibleShapeInfo.hxx @@ -87,7 +87,7 @@ public: ::com::sun::star::accessibility::XAccessible>& rxParent, sal_Int32 nIndex = -1); - ~AccessibleShapeInfo (void); + ~AccessibleShapeInfo(); AccessibleShapeInfo (const AccessibleShapeInfo&); private: diff --git a/include/svx/AccessibleShapeTreeInfo.hxx b/include/svx/AccessibleShapeTreeInfo.hxx index ec316f2498bb..d7dc02c5b862 100644 --- a/include/svx/AccessibleShapeTreeInfo.hxx +++ b/include/svx/AccessibleShapeTreeInfo.hxx @@ -53,7 +53,7 @@ public: /** Use this constructor to create an empty object that is filled later with more meaningfull data. */ - AccessibleShapeTreeInfo (void); + AccessibleShapeTreeInfo(); /** Create a copy of the given shape info. @param rInfo @@ -61,7 +61,7 @@ public: */ AccessibleShapeTreeInfo (const AccessibleShapeTreeInfo& rInfo); - ~AccessibleShapeTreeInfo (void); + ~AccessibleShapeTreeInfo(); AccessibleShapeTreeInfo& operator= (const AccessibleShapeTreeInfo& rInfo); @@ -74,7 +74,7 @@ public: */ ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleComponent> - GetDocumentWindow (void) const { return mxDocumentWindow;} + GetDocumentWindow() const { return mxDocumentWindow;} /** Deprecated. Use the correctly named SetModelBroadcaster method instead. @@ -86,7 +86,7 @@ public: */ ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventBroadcaster> - GetControllerBroadcaster (void) const { return mxModelBroadcaster;} + GetControllerBroadcaster() const { return mxModelBroadcaster;} /** Set a new broadcaster that sends events indicating shape changes. The broadcaster usually is or belongs to a document model. @@ -104,7 +104,7 @@ public: */ ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventBroadcaster> - GetModelBroadcaster (void) const { return mxModelBroadcaster;} + GetModelBroadcaster() const { return mxModelBroadcaster;} /** Set the view that will be used to construct SvxTextEditSources which in turn are used to create accessible edit engines. @@ -118,7 +118,7 @@ public: @return The returned value may be NULL. */ - SdrView* GetSdrView (void) const { return mpView;} + SdrView* GetSdrView() const { return mpView;} /** Set a new controller. This will usually but not necessarily correspond to the SdrView. @@ -135,7 +135,7 @@ public: */ ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController> - GetController (void) const { return mxController;} + GetController() const { return mxController;} /** Set the window that is used to construct SvxTextEditSources which in turn is used to create accessible edit engines. @@ -146,7 +146,7 @@ public: @return The returned value may be NULL. */ - vcl::Window* GetWindow (void) const { return mpWindow;} + vcl::Window* GetWindow() const { return mpWindow;} /** The view forwarder allows the transformation between internal and pixel coordinates and can be asked for the visible area. @@ -159,7 +159,7 @@ public: @return The returned pointer may be NULL. */ - const IAccessibleViewForwarder* GetViewForwarder (void) const { return mpViewForwarder;} + const IAccessibleViewForwarder* GetViewForwarder() const { return mpViewForwarder;} private: /** Deprecated. diff --git a/include/svx/ChildrenManager.hxx b/include/svx/ChildrenManager.hxx index 17bc1a36ab61..668574f5f61e 100644 --- a/include/svx/ChildrenManager.hxx +++ b/include/svx/ChildrenManager.hxx @@ -98,13 +98,13 @@ public: /** If there still are managed children these are marked as DEFUNC and released. */ - virtual ~ChildrenManager (void); + virtual ~ChildrenManager(); /** Return the number of currently visible accessible children. @return If there are no children a 0 is returned. */ - long GetChildCount (void) const throw (); + long GetChildCount() const throw (); /** Return the requested accessible child or throw and IndexOutOfBoundsException if the given index is invalid. @@ -161,7 +161,7 @@ public: /** Clear the list of accessible shapes which have been added by previous calls to <member>AddAccessibleShape</member>. */ - void ClearAccessibleShapeList (void); + void ClearAccessibleShapeList(); /** Take a new event shape tree info. Call this method to inform the children manager of a change of the info bundle. @@ -174,7 +174,7 @@ public: according to the given selection. This includes setting <em>and</em> resetting the states. */ - void UpdateSelection (void); + void UpdateSelection(); /** Return whether one of the shapes managed by this object has currently the focus. @@ -182,13 +182,13 @@ public: Returns <true/> when there is a shape that has the focus and <false/> when there is no such shape. */ - bool HasFocus (void); + bool HasFocus(); /** When there is a shape that currently has the focus, i.e. <member>HasFocus()</member> returns <true/> then remove the focus from that shape. Otherwise nothing changes. */ - void RemoveFocus (void); + void RemoveFocus(); virtual void ViewForwarderChanged (ChangeType aChangeType, const IAccessibleViewForwarder* pViewForwarder) SAL_OVERRIDE; diff --git a/include/svx/DescriptionGenerator.hxx b/include/svx/DescriptionGenerator.hxx index f8fc1cb74a42..3603d21aacde 100644 --- a/include/svx/DescriptionGenerator.hxx +++ b/include/svx/DescriptionGenerator.hxx @@ -56,7 +56,7 @@ public: DescriptionGenerator (const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape>& xShape); - ~DescriptionGenerator (void); + ~DescriptionGenerator(); /** Initialize the description with the given prefix followed by the shape's style in parantheses and a colon. @@ -134,19 +134,19 @@ public: /** Add properties that describe line and border attributes. */ - void AddLineProperties (void); + void AddLineProperties(); /** Add properties that describe how areas are filled. */ - void AddFillProperties (void); + void AddFillProperties(); /** Add properties that describesattributes of 3D objects. */ - void Add3DProperties (void); + void Add3DProperties(); /** Add properties that describe text attributes. */ - void AddTextProperties (void); + void AddTextProperties(); private: /// Reference to the shape from which the properties are extracted. diff --git a/include/svx/IAccessibleParent.hxx b/include/svx/IAccessibleParent.hxx index 843914d24f84..d92edc97336f 100644 --- a/include/svx/IAccessibleParent.hxx +++ b/include/svx/IAccessibleParent.hxx @@ -38,7 +38,7 @@ class IAccessibleParent public: /** Allow for a virtual destructor. */ - virtual ~IAccessibleParent (void){}; + virtual ~IAccessibleParent(){}; /** A call to this method requests the implementor to replace one child with another and send the appropriate notifications. That are two diff --git a/include/svx/IAccessibleViewForwarder.hxx b/include/svx/IAccessibleViewForwarder.hxx index e280c41fb3ad..14be8b0499ac 100644 --- a/include/svx/IAccessibleViewForwarder.hxx +++ b/include/svx/IAccessibleViewForwarder.hxx @@ -52,7 +52,7 @@ namespace accessibility { class IAccessibleViewForwarder { public: - virtual ~IAccessibleViewForwarder (void){}; + virtual ~IAccessibleViewForwarder(){}; /** This method informs you about the state of the forwarder. Do not use it when the returned value is <false/>. @@ -60,7 +60,7 @@ public: @return Return <true/> if the view forwarder is valid and <false/> else. */ - virtual bool IsValid (void) const = 0; + virtual bool IsValid() const = 0; /** Returns the area of the underlying document that is visible in the * corresponding window. diff --git a/include/svx/ShapeTypeHandler.hxx b/include/svx/ShapeTypeHandler.hxx index ee84c34109f5..ec387257e742 100644 --- a/include/svx/ShapeTypeHandler.hxx +++ b/include/svx/ShapeTypeHandler.hxx @@ -63,7 +63,7 @@ struct ShapeTypeDescriptor msServiceName (sName), maCreateFunction (aFunction) {} - ShapeTypeDescriptor (void) + ShapeTypeDescriptor() : mnShapeTypeId (-1), msServiceName (), maCreateFunction (NULL) @@ -85,7 +85,7 @@ public: @return Returns a reference to a ShapeTypeHandler object. */ - static ShapeTypeHandler& Instance (void); + static ShapeTypeHandler& Instance(); /** Determines the type id of a shape with the given service name. @param aServiceName @@ -161,14 +161,14 @@ protected: // Declare default constructor, copy constructor, destructor, and // assignment operation protected so that no one accidentally creates a // second instance of this singleton class or deletes it. - ShapeTypeHandler (void); + ShapeTypeHandler(); ShapeTypeHandler (const ShapeTypeHandler& aHandler); // never implemented, this is a singleton class ShapeTypeHandler& operator= (const ShapeTypeHandler& aHandler); // never implemented, this is a singleton class /** This destructor is never called at the moment. But because this class is a singleton this is not a problem. */ - virtual ~ShapeTypeHandler (void); + virtual ~ShapeTypeHandler(); private: /// Pointer to the only instance of this class. diff --git a/include/svx/SpellDialogChildWindow.hxx b/include/svx/SpellDialogChildWindow.hxx index 2f6bc5cae067..a50ddbbfb013 100644 --- a/include/svx/SpellDialogChildWindow.hxx +++ b/include/svx/SpellDialogChildWindow.hxx @@ -95,7 +95,7 @@ protected: */ virtual void SetGrammarChecking(bool bOn); - SfxBindings& GetBindings (void) const; + SfxBindings& GetBindings() const; /** Set the spell dialog into the 'resume' state. This method should be called to notify the SpellDialog about changes in the document that invalidate the current state which results in disabling most of the dialog controls and presenting diff --git a/include/svx/SvxShapeTypes.hxx b/include/svx/SvxShapeTypes.hxx index 474d8cdf86d8..6af2a822dcdc 100644 --- a/include/svx/SvxShapeTypes.hxx +++ b/include/svx/SvxShapeTypes.hxx @@ -28,7 +28,7 @@ namespace accessibility { /** Register the SVX draw shape types with the ShapeTypeHandler singleton. This method is usually called from the shape type handler constructor. */ -void RegisterDrawShapeTypes (void); +void RegisterDrawShapeTypes(); /** Enum describing all shape types known in the SVX project. */ diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx index 1747e16402c7..cfd31a395f5d 100644 --- a/include/svx/bmpmask.hxx +++ b/include/svx/bmpmask.hxx @@ -160,7 +160,7 @@ private: like the source color checkboxes which initially have no name and for which the description would be read by AT. */ - SVX_DLLPRIVATE void SetAccessibleNames (void); + SVX_DLLPRIVATE void SetAccessibleNames(); }; #endif // INCLUDED_SVX_BMPMASK_HXX diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx index 7df5d9a3e7e9..825deea3cedc 100644 --- a/include/svx/charmap.hxx +++ b/include/svx/charmap.hxx @@ -61,8 +61,8 @@ public: static sal_uInt32& getSelectedChar(); ::svx::SvxShowCharSetItem* ImplGetItem( int _nPos ); - int FirstInView( void) const; - int LastInView( void) const; + int FirstInView() const; + int LastInView() const; int PixelToMapIndex( const Point&) const; void SelectIndex( int index, bool bFocus = false ); void DeSelect(); diff --git a/include/svx/colrctrl.hxx b/include/svx/colrctrl.hxx index 3896ffeca6cb..0987da9dea53 100644 --- a/include/svx/colrctrl.hxx +++ b/include/svx/colrctrl.hxx @@ -91,7 +91,7 @@ private: the focus to the color value set so that it can be controlled with the keyboard. */ - virtual void GetFocus (void) SAL_OVERRIDE; + virtual void GetFocus() SAL_OVERRIDE; protected: virtual bool Close() SAL_OVERRIDE; diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 456c4f8afb25..01a2de76c2ea 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -65,8 +65,8 @@ class SVX_DLLPUBLIC SvxRectCtl : public Control { private: SVX_DLLPRIVATE void InitSettings( bool bForeground, bool bBackground ); - SVX_DLLPRIVATE void InitRectBitmap( void ); - SVX_DLLPRIVATE Bitmap& GetRectBitmap( void ); + SVX_DLLPRIVATE void InitRectBitmap(); + SVX_DLLPRIVATE Bitmap& GetRectBitmap(); SVX_DLLPRIVATE void Resize_Impl(); protected: @@ -115,9 +115,9 @@ public: void SetState( CTL_STATE nState ); - sal_uInt8 GetNumOfChildren( void ) const; // returns number of usable radio buttons + sal_uInt8 GetNumOfChildren() const; // returns number of usable radio buttons - Rectangle CalculateFocusRectangle( void ) const; + Rectangle CalculateFocusRectangle() const; Rectangle CalculateFocusRectangle( RECT_POINT eRectPoint ) const; virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE; @@ -341,7 +341,7 @@ class SVX_DLLPUBLIC LineEndLB : public ListBox public: LineEndLB( vcl::Window* pParent, WinBits aWB ); - virtual ~LineEndLB (void); + virtual ~LineEndLB(); void Fill( const XLineEndListRef &pList, bool bStart = true ); diff --git a/include/svx/fmdmod.hxx b/include/svx/fmdmod.hxx index 31f3856c4942..8a5a1676a646 100644 --- a/include/svx/fmdmod.hxx +++ b/include/svx/fmdmod.hxx @@ -32,7 +32,7 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstance(const OUString& ServiceSpecifier) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString& ServiceSpecifier, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; }; #endif // INCLUDED_SVX_FMDMOD_HXX diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx index 8717f2ff2fa1..ba7e8ef5a759 100644 --- a/include/svx/fmdpage.hxx +++ b/include/svx/fmdpage.hxx @@ -55,13 +55,13 @@ public: virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XFormsSupplier - virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > SAL_CALL getForms(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > SAL_CALL getForms() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XFormsSupplier2 - virtual sal_Bool SAL_CALL hasForms(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL hasForms() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // ::com::sun::star::lang::XServiceInfo - virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; }; #endif // INCLUDED_SVX_FMDPAGE_HXX diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx index 61edca34e54b..225c77324979 100644 --- a/include/svx/fmtools.hxx +++ b/include/svx/fmtools.hxx @@ -136,13 +136,13 @@ public: { return m_xMoveOperations->queryInterface(type); } // css::uno::Reference< css::sdbcx::XRowLocate> - css::uno::Any getBookmark(void) + css::uno::Any getBookmark() throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->getBookmark(); } bool moveToBookmark(const css::uno::Any& bookmark) throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->moveToBookmark(bookmark); } bool moveRelativeToBookmark(const css::uno::Any& bookmark, sal_Int32 rows) throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->moveRelativeToBookmark(bookmark, rows); } sal_Int32 compareBookmarks(const css::uno::Any& lhs, const css::uno::Any& rhs) const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->compareBookmarks(lhs, rhs); } - sal_Int32 hasOrderedBookmarks(void) const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->hasOrderedBookmarks(); } + sal_Int32 hasOrderedBookmarks() const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->hasOrderedBookmarks(); } sal_Int32 hashBookmark(const css::uno::Any& bookmark) const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->hashBookmark(bookmark); } // css::sdbc::XResultSet diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index 0c9461f73891..f6c276a7c10c 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -74,7 +74,7 @@ public: void SetFontWidthScale( sal_uInt16 nScaleInPercent ); - void AutoCorrectFontColor( void ); + void AutoCorrectFontColor(); void SetPreviewText( const OUString& rString ); void SetFontNameAsPreviewText(); diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx index c7c80a48b15a..1c3a90ee50ca 100644 --- a/include/svx/linectrl.hxx +++ b/include/svx/linectrl.hxx @@ -107,7 +107,7 @@ protected: the focus to the line ends value set so that it can be controlled with the keyboard. */ - virtual void GetFocus (void) SAL_OVERRIDE; + virtual void GetFocus() SAL_OVERRIDE; public: SvxLineEndWindow( sal_uInt16 nId, diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx index 0c1626591f64..5d972675d8de 100644 --- a/include/svx/numfmtsh.hxx +++ b/include/svx/numfmtsh.hxx @@ -176,7 +176,7 @@ public: OUString const& rFmtString); void SetUseStarFormat( bool bUse ) { bUseStarFormat = bUse; } - bool IsUseStarFormat( void ) { return bUseStarFormat; } + bool IsUseStarFormat() { return bUseStarFormat; } private: static const double DEFAULT_NUMVALUE; diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx index bd605a17778e..d0e9429501a2 100644 --- a/include/svx/rubydialog.hxx +++ b/include/svx/rubydialog.hxx @@ -155,7 +155,7 @@ class SvxRubyDialog : public SfxModelessDialog void GetCurrentText(OUString& rBase, OUString& rRuby); - void UpdateColors( void ); + void UpdateColors(); protected: virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; public: diff --git a/include/svx/sidebar/Popup.hxx b/include/svx/sidebar/Popup.hxx index e11e8c1ee6b0..7f0d804f78c2 100644 --- a/include/svx/sidebar/Popup.hxx +++ b/include/svx/sidebar/Popup.hxx @@ -53,7 +53,7 @@ public : vcl::Window* pParent, const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator, const ::rtl::OUString& rsAccessibleName); - virtual ~Popup (void); + virtual ~Popup(); /** Show the popup. @rToolBox @@ -68,12 +68,12 @@ public : application can call Hide() when the popup should be closed for other, non-standard reasons. */ - void Hide (void); + void Hide(); /** If you want to be informed when the popup closes then add a callback that is called after that. */ - void SetPopupModeEndHandler (const ::boost::function<void(void)>& rCallback); + void SetPopupModeEndHandler (const ::boost::function<void()>& rCallback); protected: std::unique_ptr<PopupControl> mxControl; @@ -81,17 +81,17 @@ protected: /** Make sure that both PopupContainer and PopupControl objects exist. Calls the maControlCreator functor if necessary. */ - void ProvideContainerAndControl (void); + void ProvideContainerAndControl(); /** A derived specialisation class can override this method to do additional work. */ - void CreateContainerAndControl (void); + void CreateContainerAndControl(); private: vcl::Window* mpParent; ::boost::function<PopupControl*(PopupContainer*)> maControlCreator; - ::boost::function<void(void)> maPopupModeEndCallback; + ::boost::function<void()> maPopupModeEndCallback; const ::rtl::OUString msAccessibleName; std::unique_ptr<PopupContainer> mxContainer; diff --git a/include/svx/sidebar/PopupContainer.hxx b/include/svx/sidebar/PopupContainer.hxx index f8f6f524573f..f15c283ff313 100644 --- a/include/svx/sidebar/PopupContainer.hxx +++ b/include/svx/sidebar/PopupContainer.hxx @@ -34,7 +34,7 @@ class SVX_DLLPUBLIC PopupContainer { public: PopupContainer (vcl::Window* pParent); - virtual ~PopupContainer (void); + virtual ~PopupContainer(); virtual bool Notify (NotifyEvent& rNEvt) SAL_OVERRIDE; }; diff --git a/include/svx/sidebar/PopupControl.hxx b/include/svx/sidebar/PopupControl.hxx index 84bed5af5870..32658b3ae4d7 100644 --- a/include/svx/sidebar/PopupControl.hxx +++ b/include/svx/sidebar/PopupControl.hxx @@ -38,7 +38,7 @@ public : PopupControl ( vcl::Window* pParent, const ResId& rResId); - virtual ~PopupControl (void); + virtual ~PopupControl(); virtual void Paint (const Rectangle& rect) SAL_OVERRIDE; }; diff --git a/include/svx/sidebar/SelectionChangeHandler.hxx b/include/svx/sidebar/SelectionChangeHandler.hxx index ed5e9a80ad1e..715265840c57 100644 --- a/include/svx/sidebar/SelectionChangeHandler.hxx +++ b/include/svx/sidebar/SelectionChangeHandler.hxx @@ -48,10 +48,10 @@ class SVX_DLLPUBLIC SelectionChangeHandler { public: SelectionChangeHandler ( - const boost::function<rtl::OUString(void)>& rSelectionChangeCallback, + const boost::function<rtl::OUString()>& rSelectionChangeCallback, const css::uno::Reference<css::frame::XController>& rxController, const sfx2::sidebar::EnumContext::Context eDefaultContext); - virtual ~SelectionChangeHandler (void); + virtual ~SelectionChangeHandler(); virtual void SAL_CALL selectionChanged (const css::lang::EventObject& rEvent) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -59,17 +59,17 @@ public: virtual void SAL_CALL disposing (const css::lang::EventObject& rEvent) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL disposing (void) + virtual void SAL_CALL disposing() throw (css::uno::RuntimeException) SAL_OVERRIDE; - void Connect (void); - void Disconnect (void); + void Connect(); + void Disconnect(); private: SelectionChangeHandler(const SelectionChangeHandler&) SAL_DELETED_FUNCTION; SelectionChangeHandler& operator=(const SelectionChangeHandler&) SAL_DELETED_FUNCTION; - const boost::function<rtl::OUString(void)> maSelectionChangeCallback; + const boost::function<rtl::OUString()> maSelectionChangeCallback; css::uno::Reference<css::frame::XController> mxController; const sfx2::sidebar::EnumContext::Context meDefaultContext; bool mbIsConnected; diff --git a/include/svx/sidebar/SidebarDialControl.hxx b/include/svx/sidebar/SidebarDialControl.hxx index a77d0f412419..1d829d27fe76 100644 --- a/include/svx/sidebar/SidebarDialControl.hxx +++ b/include/svx/sidebar/SidebarDialControl.hxx @@ -29,7 +29,7 @@ class SVX_DLLPUBLIC SidebarDialControl : public svx::DialControl { public: SidebarDialControl (vcl::Window* pParent, WinBits nBits = 0); - virtual ~SidebarDialControl (void); + virtual ~SidebarDialControl(); virtual Size GetOptimalSize() const SAL_OVERRIDE; virtual void MouseButtonDown (const MouseEvent& rMEvt) SAL_OVERRIDE; diff --git a/include/svx/sidebar/ValueSetWithTextControl.hxx b/include/svx/sidebar/ValueSetWithTextControl.hxx index 33054ead6feb..e6724b278c9c 100644 --- a/include/svx/sidebar/ValueSetWithTextControl.hxx +++ b/include/svx/sidebar/ValueSetWithTextControl.hxx @@ -52,7 +52,7 @@ public: vcl::Window* pParent, const ResId& rResId); - virtual ~ValueSetWithTextControl(void); + virtual ~ValueSetWithTextControl(); // add item for control type IMAGE_TEXT // if control type does not match IMAGE_TEXT no item is added. diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index 971c5b250f0f..6d0e2017771f 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -500,7 +500,7 @@ public: // @return // If no navigation position has been explicitly defined then the // result of GetOrdNum() is returned. - sal_uInt32 GetNavigationPosition (void); + sal_uInt32 GetNavigationPosition(); // Set the position in the navigation position to the given value. // This method is typically used only by the model after a change to diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx index 868dc49ee801..bdd0c981ab2a 100644 --- a/include/svx/svdpage.hxx +++ b/include/svx/svdpage.hxx @@ -201,7 +201,7 @@ public: different from those returne by SdrObject::GetOrdNum() and GetObj(). */ - bool HasObjectNavigationOrder (void) const; + bool HasObjectNavigationOrder() const; /** Set the navigation position of the given object to the specified value. Note that this changes the navigation position for all @@ -225,7 +225,7 @@ public: /** Restore the navigation order to that defined by the z-order. */ - void ClearObjectNavigationOrder (void); + void ClearObjectNavigationOrder(); /** Set the navigation position of all SdrObjects to their position in the mxNavigationOrder list. This method returns immediately when no @@ -237,7 +237,7 @@ public: for example because no explicit navigation order has been defined, i.e. HasObjectNavigationOrder() would return <FALSE/>. */ - bool RecalcNavigationPositions (void); + bool RecalcNavigationPositions(); /** Set the navigation order to the one defined by the given list of XShape objects. diff --git a/include/svx/swframeexample.hxx b/include/svx/swframeexample.hxx index b6f698c0773f..45bb9098c83a 100644 --- a/include/svx/swframeexample.hxx +++ b/include/svx/swframeexample.hxx @@ -61,7 +61,7 @@ class SVX_DLLPUBLIC SvxSwFrameExample : public vcl::Window Point aRelPos; - void InitColors_Impl( void ); + void InitColors_Impl(); void InitAllRects_Impl(); void CalcBoundRect_Impl(Rectangle &rRect); Rectangle DrawInnerFrame_Impl(const Rectangle &rRect, const Color &rFillColor, const Color &rBorderColor); diff --git a/include/svx/viewpt3d.hxx b/include/svx/viewpt3d.hxx index 1778bffb8da4..e546f20643a0 100644 --- a/include/svx/viewpt3d.hxx +++ b/include/svx/viewpt3d.hxx @@ -75,7 +75,7 @@ class SVX_DLLPUBLIC Viewport3D double fWRatio; // device/view aspect ratio double fHRatio; - void MakeTransform(void); + void MakeTransform(); public: Viewport3D(); diff --git a/include/svx/xmlexchg.hxx b/include/svx/xmlexchg.hxx index 7de6e3ab923c..18b09be08f8b 100644 --- a/include/svx/xmlexchg.hxx +++ b/include/svx/xmlexchg.hxx @@ -50,7 +50,7 @@ namespace svx OUString szServiceName; css::uno::Reference< css::beans::XPropertySet > xPropSet; - inline OXFormsDescriptor( void ) {} + inline OXFormsDescriptor() {} inline OXFormsDescriptor( const OXFormsDescriptor &rhs ) { *this=rhs; } inline OXFormsDescriptor &operator = ( const OXFormsDescriptor &rhs ) { szName = rhs.szName; diff --git a/include/toolkit/controls/eventcontainer.hxx b/include/toolkit/controls/eventcontainer.hxx index be41bdd6fc69..9ae4ef517d59 100644 --- a/include/toolkit/controls/eventcontainer.hxx +++ b/include/toolkit/controls/eventcontainer.hxx @@ -108,7 +108,7 @@ public: class ScriptEventContainer : public NameContainer_Impl { public: - ScriptEventContainer( void ); + ScriptEventContainer(); }; diff --git a/include/tools/inetstrm.hxx b/include/tools/inetstrm.hxx index d566799d1313..ea6be1f9c0fe 100644 --- a/include/tools/inetstrm.hxx +++ b/include/tools/inetstrm.hxx @@ -70,15 +70,15 @@ protected: public: INetMessageIStream (sal_uIntPtr nBufferSize = 2048); - virtual ~INetMessageIStream (void); + virtual ~INetMessageIStream(); TOOLS_DLLPUBLIC int Read (sal_Char *pData, sal_uIntPtr nSize); - INetMIMEMessage *GetSourceMessage (void) const { return pSourceMsg; } + INetMIMEMessage *GetSourceMessage() const { return pSourceMsg; } void SetSourceMessage (INetMIMEMessage *pMsg) { pSourceMsg = pMsg; } void SetHeaderGenerated() { bHeaderGenerated = true; } - bool IsHeaderGenerated (void) const { return bHeaderGenerated; } + bool IsHeaderGenerated() const { return bHeaderGenerated; } }; /// Message Parser Interface. @@ -98,16 +98,16 @@ protected: virtual int PutMsgLine (const sal_Char *pData, sal_uIntPtr nSize); public: - INetMessageOStream (void); - virtual ~INetMessageOStream (void); + INetMessageOStream(); + virtual ~INetMessageOStream(); int Write (const sal_Char *pData, sal_uIntPtr nSize); - INetMIMEMessage *GetTargetMessage (void) const { return pTargetMsg; } + INetMIMEMessage *GetTargetMessage() const { return pTargetMsg; } void SetTargetMessage (INetMIMEMessage *pMsg) { pTargetMsg = pMsg; } void ParseHeader (bool bParse = true) { bHeaderParsed = !bParse; } - bool IsHeaderParsed (void) const { return bHeaderParsed; } + bool IsHeaderParsed() const { return bHeaderParsed; } }; enum INetMessageEncoding @@ -145,7 +145,7 @@ protected: public: INetMIMEMessageStream (sal_uIntPtr nBufferSize = 2048); - virtual ~INetMIMEMessageStream (void); + virtual ~INetMIMEMessageStream(); }; #endif diff --git a/include/ucbhelper/fd_inputstream.hxx b/include/ucbhelper/fd_inputstream.hxx index c1b4125c4f93..3c206618d601 100644 --- a/include/ucbhelper/fd_inputstream.hxx +++ b/include/ucbhelper/fd_inputstream.hxx @@ -77,13 +77,13 @@ namespace ucbhelper css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL - available(void) + available() throw(css::io::NotConnectedException, css::io::IOException, css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL - closeInput(void) + closeInput() throw(css::io::NotConnectedException, css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -100,13 +100,13 @@ namespace ucbhelper virtual sal_Int64 SAL_CALL - getPosition(void) + getPosition() throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int64 SAL_CALL - getLength(void) + getLength() throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/unotools/accessiblerelationsethelper.hxx b/include/unotools/accessiblerelationsethelper.hxx index 42664db8c426..38a4cf430cfb 100644 --- a/include/unotools/accessiblerelationsethelper.hxx +++ b/include/unotools/accessiblerelationsethelper.hxx @@ -54,7 +54,7 @@ public: AccessibleRelationSetHelper (); AccessibleRelationSetHelper (const AccessibleRelationSetHelper& rHelper); protected: - virtual ~AccessibleRelationSetHelper (void); + virtual ~AccessibleRelationSetHelper(); public: //===== XAccessibleRelationSet ========================================== @@ -124,13 +124,13 @@ public: /** Returns a sequence of all supported interfaces. */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL - getTypes (void) + getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId (void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: diff --git a/include/unotools/accessiblestatesethelper.hxx b/include/unotools/accessiblestatesethelper.hxx index 330a3e248e54..cdd6d948ba62 100644 --- a/include/unotools/accessiblestatesethelper.hxx +++ b/include/unotools/accessiblestatesethelper.hxx @@ -65,7 +65,7 @@ public: AccessibleStateSetHelper ( const AccessibleStateSetHelper& rHelper ); protected: - virtual ~AccessibleStateSetHelper (void); + virtual ~AccessibleStateSetHelper(); public: //===== XAccessibleStateSet ============================================== @@ -132,13 +132,13 @@ public: /** Returns a sequence of all supported interfaces. */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL - getTypes (void) + getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId (void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: diff --git a/include/unotools/xmlaccelcfg.hxx b/include/unotools/xmlaccelcfg.hxx index 54fec55bcd90..fe1d95de866b 100644 --- a/include/unotools/xmlaccelcfg.hxx +++ b/include/unotools/xmlaccelcfg.hxx @@ -54,9 +54,9 @@ class OReadAccelatorDocumentHandler : public ::com::sun::star::xml::sax::XDocume const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XDocumentHandler - virtual void SAL_CALL startDocument(void) + virtual void SAL_CALL startDocument() throw ( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL endDocument(void) + virtual void SAL_CALL endDocument() throw ( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL startElement( const OUString& aName, diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx index 531d64051e8b..ad4e9cfaeb8e 100644 --- a/include/vcl/lazydelete.hxx +++ b/include/vcl/lazydelete.hxx @@ -277,7 +277,7 @@ namespace vcl addDeinitContainer( this ); } virtual ~DeleteUnoReferenceOnDeinit() {} - ::com::sun::star::uno::Reference<I> get (void) { return m_xI; } + ::com::sun::star::uno::Reference<I> get() { return m_xI; } void set (const ::com::sun::star::uno::Reference<I>& r_xNew ) { diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 359494075c0b..d473aea1b584 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -294,10 +294,10 @@ class VCL_DLLPUBLIC ImplControlValue ControlType getType() const { return mType; } - inline ButtonValue getTristateVal( void ) const { return mTristate; } + inline ButtonValue getTristateVal() const { return mTristate; } inline void setTristateVal( ButtonValue nTristate ) { mTristate = nTristate; } - inline long getNumericVal( void ) const { return mNumber; } + inline long getNumericVal() const { return mNumber; } inline void setNumericVal( long nNumeric ) { mNumber = nNumeric; } }; diff --git a/include/xmloff/XMLEmbeddedObjectExportFilter.hxx b/include/xmloff/XMLEmbeddedObjectExportFilter.hxx index a4a1b25155cc..8100c0f1aaad 100644 --- a/include/xmloff/XMLEmbeddedObjectExportFilter.hxx +++ b/include/xmloff/XMLEmbeddedObjectExportFilter.hxx @@ -41,9 +41,9 @@ public: virtual ~XMLEmbeddedObjectExportFilter () throw(); // ::com::sun::star::xml::sax::XDocumentHandler - virtual void SAL_CALL startDocument(void) + virtual void SAL_CALL startDocument() throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL endDocument(void) + virtual void SAL_CALL endDocument() throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL startElement(const OUString& aName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttribs) @@ -61,11 +61,11 @@ public: throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // ::com::sun::star::xml::sax::XExtendedDocumentHandler - virtual void SAL_CALL startCDATA(void) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL endCDATA(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL startCDATA() throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL endCDATA() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL comment(const OUString& sComment) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL allowLineBreak(void) + virtual void SAL_CALL allowLineBreak() throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL unknown(const OUString& sString) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/include/xmloff/attrlist.hxx b/include/xmloff/attrlist.hxx index 240d53dd47d7..dda7903fab39 100644 --- a/include/xmloff/attrlist.hxx +++ b/include/xmloff/attrlist.hxx @@ -56,7 +56,7 @@ public: virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::xml::sax::XAttributeList - virtual sal_Int16 SAL_CALL getLength(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual sal_Int16 SAL_CALL getLength() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual OUString SAL_CALL getNameByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual OUString SAL_CALL getTypeByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual OUString SAL_CALL getTypeByName(const OUString& aName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/include/xmloff/unoatrcn.hxx b/include/xmloff/unoatrcn.hxx index 7f265e478d0a..d13a69fdf85e 100644 --- a/include/xmloff/unoatrcn.hxx +++ b/include/xmloff/unoatrcn.hxx @@ -56,12 +56,12 @@ public: virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::container::XElementAccess - virtual ::com::sun::star::uno::Type SAL_CALL getElementType(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual sal_Bool SAL_CALL hasElements(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL hasElements() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // ::com::sun::star::container::XNameAccess virtual ::com::sun::star::uno::Any SAL_CALL getByName(const OUString& aName) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasByName(const OUString& aName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // ::com::sun::star::container::XNameReplace @@ -72,8 +72,8 @@ public: virtual void SAL_CALL removeByName(const OUString& Name) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // ::com::sun::star::lang::XServiceInfo - virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; friend ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SvUnoAttributeContainer_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr ) throw( ::com::sun::star::uno::Exception ); diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx index 7b94d38e05cd..2939f6e10bea 100644 --- a/include/xmloff/xmlimp.hxx +++ b/include/xmloff/xmlimp.hxx @@ -259,11 +259,11 @@ public: throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) SAL_OVERRIDE; // ::com::sun::star::xml::sax::XExtendedDocumentHandler - virtual void SAL_CALL startCDATA(void) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL endCDATA(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL startCDATA() throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL endCDATA() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL comment(const OUString& sComment) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL allowLineBreak(void) + virtual void SAL_CALL allowLineBreak() throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL unknown(const OUString& sString) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/include/xmlscript/xmllib_imexp.hxx b/include/xmlscript/xmllib_imexp.hxx index 4f4f4780aa30..2820fa017ebc 100644 --- a/include/xmlscript/xmllib_imexp.hxx +++ b/include/xmlscript/xmllib_imexp.hxx @@ -49,7 +49,7 @@ struct XMLSCRIPT_DLLPUBLIC LibDescriptorArray LibDescriptor* mpLibs; sal_Int32 mnLibCount; - LibDescriptorArray( void ) { mpLibs = NULL; mnLibCount = 0; } + LibDescriptorArray() { mpLibs = NULL; mnLibCount = 0; } LibDescriptorArray( sal_Int32 nLibCount ); ~LibDescriptorArray(); |