summaryrefslogtreecommitdiff
path: root/io/test/stm/datatest.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 12:44:47 +0200
committerNoel Grandin <noel@peralex.com>2015-04-15 11:47:12 +0200
commit71b809959bb8f775d83dc52628448bb8b8322b28 (patch)
treef9aa4308050eb7d55611068602c0cf0e3c1b3690 /io/test/stm/datatest.cxx
parent135907f2061550624ee1859745d94eee01849070 (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 'io/test/stm/datatest.cxx')
-rw-r--r--io/test/stm/datatest.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx
index ee378cf7066c..559f3e2a3c4a 100644
--- a/io/test/stm/datatest.cxx
+++ b/io/test/stm/datatest.cxx
@@ -79,10 +79,10 @@ public:
throw ( IllegalArgumentException,
RuntimeException);
- virtual sal_Bool SAL_CALL testPassed(void) throw ( RuntimeException);
- virtual Sequence< OUString > SAL_CALL getErrors(void) throw (RuntimeException);
- virtual Sequence< Any > SAL_CALL getErrorExceptions(void) throw (RuntimeException);
- virtual Sequence< OUString > SAL_CALL getWarnings(void) throw (RuntimeException);
+ virtual sal_Bool SAL_CALL testPassed() throw ( RuntimeException);
+ virtual Sequence< OUString > SAL_CALL getErrors() throw (RuntimeException);
+ virtual Sequence< Any > SAL_CALL getErrorExceptions() throw (RuntimeException);
+ virtual Sequence< OUString > SAL_CALL getWarnings() throw (RuntimeException);
private:
void testSimple( const Reference < XDataInputStream > & , const Reference < XDataOutputStream > &);
@@ -222,25 +222,25 @@ sal_Int32 ODataStreamTest::test(
-sal_Bool ODataStreamTest::testPassed(void) throw (RuntimeException)
+sal_Bool ODataStreamTest::testPassed() throw (RuntimeException)
{
return m_seqErrors.getLength() == 0;
}
-Sequence< OUString > ODataStreamTest::getErrors(void) throw (RuntimeException)
+Sequence< OUString > ODataStreamTest::getErrors() throw (RuntimeException)
{
return m_seqErrors;
}
-Sequence< Any > ODataStreamTest::getErrorExceptions(void) throw (RuntimeException)
+Sequence< Any > ODataStreamTest::getErrorExceptions() throw (RuntimeException)
{
return m_seqExceptions;
}
-Sequence< OUString > ODataStreamTest::getWarnings(void) throw (RuntimeException)
+Sequence< OUString > ODataStreamTest::getWarnings() throw (RuntimeException)
{
return m_seqWarnings;
}
@@ -384,7 +384,7 @@ public:
public:
- virtual OUString SAL_CALL getServiceName(void) throw (RuntimeException);
+ virtual OUString SAL_CALL getServiceName() throw (RuntimeException);
virtual void SAL_CALL write( const Reference< XObjectOutputStream >& OutStream )
throw (IOException, RuntimeException);
virtual void SAL_CALL read(const Reference< XObjectInputStream >& InStream)
@@ -392,7 +392,7 @@ public:
public:
- virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo(void)
+ virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo()
throw (RuntimeException);
virtual void SAL_CALL setPropertyValue(const OUString& aPropertyName, const Any& aValue)
@@ -446,7 +446,7 @@ public:
-Reference <XPropertySetInfo > MyPersistObject::getPropertySetInfo(void)
+Reference <XPropertySetInfo > MyPersistObject::getPropertySetInfo()
throw (RuntimeException)
{
return Reference< XPropertySetInfo >();