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 /sc/workben | |
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 'sc/workben')
-rw-r--r-- | sc/workben/addin.hxx | 2 | ||||
-rw-r--r-- | sc/workben/test.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/workben/addin.hxx b/sc/workben/addin.hxx index 822528d8a561..6e5033bc5a8d 100644 --- a/sc/workben/addin.hxx +++ b/sc/workben/addin.hxx @@ -48,7 +48,7 @@ public: // SMART_UNO_DECLARATION( ScTestAddIn, UsrObject ); // friend Reflection * ScTestAddIn_getReflection(); // virtual BOOL queryInterface( Uik, XInterfaceRef& ); -// virtual XIdlClassRef getIdlClass(void); +// virtual XIdlClassRef getIdlClass(); static UString getImplementationName_Static(); static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); diff --git a/sc/workben/test.cxx b/sc/workben/test.cxx index 3d36f50db40a..7e6688c01b22 100644 --- a/sc/workben/test.cxx +++ b/sc/workben/test.cxx @@ -95,7 +95,7 @@ public: SMART_UNO_DECLARATION( ScTestListener, UsrObject ); virtual XInterface * queryInterface( UsrUik ); - virtual XIdlClassRef getIdlClass(void); + virtual XIdlClassRef getIdlClass(); virtual void disposing(const EventObject& Source); @@ -124,7 +124,7 @@ XInterface* ScTestListener::queryInterface( UsrUik aUIK ) return UsrObject::queryInterface( aUIK ); } -XIdlClassRef ScTestListener::getIdlClass(void) +XIdlClassRef ScTestListener::getIdlClass() { static XIdlClassRef xClass = createStandardClass( L"ScTestListener", UsrObject::getUsrObjectIdlClass(), |