diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-14 12:44:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-15 11:47:12 +0200 |
commit | 71b809959bb8f775d83dc52628448bb8b8322b28 (patch) | |
tree | f9aa4308050eb7d55611068602c0cf0e3c1b3690 /include/unotools | |
parent | 135907f2061550624ee1859745d94eee01849070 (diff) |
remove unnecessary use of void in function declarations
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/accessiblerelationsethelper.hxx | 6 | ||||
-rw-r--r-- | include/unotools/accessiblestatesethelper.hxx | 6 | ||||
-rw-r--r-- | include/unotools/xmlaccelcfg.hxx | 4 |
3 files changed, 8 insertions, 8 deletions
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, |