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 /i18npool/source/calendar | |
parent | fix crash on export of fdo60365-2.ods to xlsx (diff) | |
download | core-71b809959bb8f775d83dc52628448bb8b8322b28.tar.gz core-71b809959bb8f775d83dc52628448bb8b8322b28.zip |
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 'i18npool/source/calendar')
-rw-r--r-- | i18npool/source/calendar/calendarImpl.cxx | 4 | ||||
-rw-r--r-- | i18npool/source/calendar/calendar_gregorian.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/calendar/calendarImpl.cxx b/i18npool/source/calendar/calendarImpl.cxx index 68cf9c2116b3..67a82dbb7795 100644 --- a/i18npool/source/calendar/calendarImpl.cxx +++ b/i18npool/source/calendar/calendarImpl.cxx @@ -356,7 +356,7 @@ CalendarImpl::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativ } OUString SAL_CALL -CalendarImpl::getImplementationName(void) throw( RuntimeException, std::exception ) +CalendarImpl::getImplementationName() throw( RuntimeException, std::exception ) { return OUString("com.sun.star.i18n.CalendarImpl"); } @@ -368,7 +368,7 @@ CalendarImpl::supportsService(const OUString& rServiceName) throw( RuntimeExcept } Sequence< OUString > SAL_CALL -CalendarImpl::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) +CalendarImpl::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(2); aRet[0] = "com.sun.star.i18n.LocaleCalendar"; diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx index d2f513c2afff..eb6331d27082 100644 --- a/i18npool/source/calendar/calendar_gregorian.cxx +++ b/i18npool/source/calendar/calendar_gregorian.cxx @@ -1204,7 +1204,7 @@ Calendar_buddhist::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 n } OUString SAL_CALL -Calendar_gregorian::getImplementationName(void) throw( RuntimeException, std::exception ) +Calendar_gregorian::getImplementationName() throw( RuntimeException, std::exception ) { return OUString::createFromAscii(cCalendar); } @@ -1216,7 +1216,7 @@ Calendar_gregorian::supportsService(const OUString& rServiceName) throw( Runtime } Sequence< OUString > SAL_CALL -Calendar_gregorian::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) +Calendar_gregorian::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(1); aRet[0] = OUString::createFromAscii(cCalendar); |