From 71b809959bb8f775d83dc52628448bb8b8322b28 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 14 Apr 2015 12:44:47 +0200 Subject: remove unnecessary use of void in function declarations ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd --- xmlsecurity/inc/xmlsecurity/certificatechooser.hxx | 2 +- xmlsecurity/inc/xmlsecurity/certificateviewer.hxx | 4 ++-- xmlsecurity/inc/xmlsecurity/macrosecurity.hxx | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'xmlsecurity/inc') diff --git a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx index 40bafdd4c755..f12837a49ca2 100644 --- a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx +++ b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx @@ -54,7 +54,7 @@ private: bool mbInitialized; - sal_uInt16 GetSelectedEntryPos( void ) const; + sal_uInt16 GetSelectedEntryPos() const; DECL_LINK(ViewButtonHdl, void *); DECL_LINK( CertificateHighlightHdl, void* ); DECL_LINK( CertificateSelectHdl, void* ); diff --git a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx index 4e9188616099..f3eea2ba062d 100644 --- a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx +++ b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx @@ -102,7 +102,7 @@ private: vcl::Font m_aFixedWidthFont; DECL_LINK( ElementSelectHdl, void* ); - void Clear( void ); + void Clear(); void InsertElement( const OUString& _rField, const OUString& _rValue, const OUString& _rDetails, bool _bFixedWidthFont = false ); public: @@ -129,7 +129,7 @@ private: DECL_LINK( ViewCertHdl, void* ); DECL_LINK( CertSelectHdl, void* ); - void Clear( void ); + void Clear(); SvTreeListEntry* InsertCert( SvTreeListEntry* _pParent, const OUString& _rName, css::uno::Reference< css::security::XCertificate > rxCert, bool bValid); diff --git a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx index 63c16d71293f..2707fe5e2ccd 100644 --- a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx +++ b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx @@ -87,7 +87,7 @@ public: mpDlg = pTabDlg; } - virtual void ClosePage( void ) = 0; + virtual void ClosePage() = 0; }; class MacroSecurityLevelTP : public MacroSecurityTP @@ -106,7 +106,7 @@ protected: public: MacroSecurityLevelTP( vcl::Window* pParent, MacroSecurity* _pDlg ); - virtual void ClosePage( void ) SAL_OVERRIDE; + virtual void ClosePage() SAL_OVERRIDE; }; @@ -134,7 +134,7 @@ private: DECL_LINK( TrustCertLBSelectHdl, void* ); DECL_LINK( TrustFileLocLBSelectHdl, void* ); - void FillCertLB( void ); + void FillCertLB(); void ImplCheckButtons(); public: @@ -142,7 +142,7 @@ public: virtual ~MacroSecurityTrustedSourcesTP(); virtual void ActivatePage() SAL_OVERRIDE; - virtual void ClosePage( void ) SAL_OVERRIDE; + virtual void ClosePage() SAL_OVERRIDE; }; -- cgit