summaryrefslogtreecommitdiff
path: root/stoc
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 /stoc
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 'stoc')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx4
-rw-r--r--stoc/source/inspect/introspection.cxx56
-rw-r--r--stoc/source/invocation/invocation.cxx28
-rw-r--r--stoc/source/typeconv/convert.cxx4
-rw-r--r--stoc/test/testcorefl.cxx2
-rw-r--r--stoc/test/testintrosp.cxx8
-rw-r--r--stoc/test/testsmgr_cpnt.cxx8
7 files changed, 55 insertions, 55 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index b78c1f4925bf..7acd1494f717 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -1206,7 +1206,7 @@ public:
// XServiceInfo
OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) SAL_OVERRIDE;
sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(RuntimeException, std::exception) SAL_OVERRIDE;
- Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw(RuntimeException, std::exception) SAL_OVERRIDE;
+ Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) SAL_OVERRIDE;
// XImplementationRegistration
virtual void SAL_CALL registerImplementation(
@@ -1300,7 +1300,7 @@ sal_Bool ImplementationRegistration::supportsService(const OUString& ServiceName
}
// XServiceInfo
-Sequence< OUString > ImplementationRegistration::getSupportedServiceNames(void) throw(RuntimeException, std::exception)
+Sequence< OUString > ImplementationRegistration::getSupportedServiceNames() throw(RuntimeException, std::exception)
{
Sequence< OUString > seqNames(1);
seqNames[0] = "com.sun.star.registry.ImplementationRegistration";
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index da6b0a7be99a..67a610091518 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -239,11 +239,11 @@ public:
// void setPropertyValueByIndex(Any& obj, sal_Int32 nIndex, const Any& aValue) const;
Any getPropertyValueByIndex(const Any& obj, sal_Int32 nIndex) const;
- Sequence<Property> getProperties(void) const { return maAllPropertySeq; }
- Sequence< Reference<XIdlMethod> > getMethods(void) const { return maAllMethodSeq; }
- Sequence< Type > getSupportedListeners(void) const { return maSupportedListenerSeq; }
- Sequence<sal_Int32> getPropertyConcepts(void) const { return maPropertyConceptSeq; }
- Sequence<sal_Int32> getMethodConcepts(void) const { return maMethodConceptSeq; }
+ Sequence<Property> getProperties() const { return maAllPropertySeq; }
+ Sequence< Reference<XIdlMethod> > getMethods() const { return maAllMethodSeq; }
+ Sequence< Type > getSupportedListeners() const { return maSupportedListenerSeq; }
+ Sequence<sal_Int32> getPropertyConcepts() const { return maPropertyConceptSeq; }
+ Sequence<sal_Int32> getMethodConcepts() const { return maMethodConceptSeq; }
};
@@ -699,9 +699,9 @@ public:
virtual ~ImplIntrospectionAccess();
// Methoden von XIntrospectionAccess
- virtual sal_Int32 SAL_CALL getSuppliedMethodConcepts(void)
+ virtual sal_Int32 SAL_CALL getSuppliedMethodConcepts()
throw( RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual sal_Int32 SAL_CALL getSuppliedPropertyConcepts(void)
+ virtual sal_Int32 SAL_CALL getSuppliedPropertyConcepts()
throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual Property SAL_CALL getProperty(const OUString& Name, sal_Int32 PropertyConcepts)
throw( NoSuchElementException, RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -715,14 +715,14 @@ public:
throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual Sequence< Reference<XIdlMethod> > SAL_CALL getMethods(sal_Int32 MethodConcepts)
throw( RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual Sequence< Type > SAL_CALL getSupportedListeners(void)
+ virtual Sequence< Type > SAL_CALL getSupportedListeners()
throw( RuntimeException, std::exception ) SAL_OVERRIDE;
using OWeakObject::queryAdapter;
virtual Reference<XInterface> SAL_CALL queryAdapter( const Type& rType )
throw( IllegalTypeException, RuntimeException, std::exception ) SAL_OVERRIDE;
// Methoden von XMaterialHolder
- virtual Any SAL_CALL getMaterial(void) throw(RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual Any SAL_CALL getMaterial() throw(RuntimeException, std::exception) SAL_OVERRIDE;
// Methoden von XExactName
virtual OUString SAL_CALL getExactName( const OUString& rApproximateName ) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -812,18 +812,18 @@ public:
throw( UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE;
// Methoden von XPropertySetInfo
- virtual Sequence< Property > SAL_CALL getProperties(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual Sequence< Property > SAL_CALL getProperties() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual Property SAL_CALL getPropertyByName(const OUString& Name) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasPropertyByName(const OUString& Name) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
// Methoden von XElementAccess
- virtual Type SAL_CALL getElementType(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL hasElements(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual Type SAL_CALL getElementType() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL hasElements() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
// Methoden von XNameAccess
virtual Any SAL_CALL getByName(const OUString& Name)
throw( NoSuchElementException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual Sequence< OUString > SAL_CALL getElementNames(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual Sequence< OUString > SAL_CALL getElementNames() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasByName(const OUString& Name) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
// Methoden von XNameContainer
@@ -835,7 +835,7 @@ public:
throw( NoSuchElementException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE;
// Methoden von XIndexAccess
- virtual sal_Int32 SAL_CALL getCount(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Int32 SAL_CALL getCount() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual Any SAL_CALL getByIndex(sal_Int32 Index)
throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -848,7 +848,7 @@ public:
throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE;
// Methoden von XEnumerationAccess
- virtual Reference<XEnumeration> SAL_CALL createEnumeration(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual Reference<XEnumeration> SAL_CALL createEnumeration() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
// Methoden von XIdlArray
virtual void SAL_CALL realloc(Any& array, sal_Int32 length)
@@ -917,7 +917,7 @@ Any SAL_CALL ImplIntrospectionAdapter::queryInterface( const Type& rType )
// Methoden von XPropertySet
-Reference<XPropertySetInfo> ImplIntrospectionAdapter::getPropertySetInfo(void)
+Reference<XPropertySetInfo> ImplIntrospectionAdapter::getPropertySetInfo()
throw( RuntimeException, std::exception )
{
return (XPropertySetInfo *)this;
@@ -1000,7 +1000,7 @@ Any ImplIntrospectionAdapter::getFastPropertyValue(sal_Int32)
}
// Methoden von XPropertySetInfo
-Sequence< Property > ImplIntrospectionAdapter::getProperties(void) throw( RuntimeException, std::exception )
+Sequence< Property > ImplIntrospectionAdapter::getProperties() throw( RuntimeException, std::exception )
{
return mpStaticImpl->getProperties();
}
@@ -1018,12 +1018,12 @@ sal_Bool ImplIntrospectionAdapter::hasPropertyByName(const OUString& Name)
}
// Methoden von XElementAccess
-Type ImplIntrospectionAdapter::getElementType(void) throw( RuntimeException, std::exception )
+Type ImplIntrospectionAdapter::getElementType() throw( RuntimeException, std::exception )
{
return mxObjElementAccess->getElementType();
}
-sal_Bool ImplIntrospectionAdapter::hasElements(void) throw( RuntimeException, std::exception )
+sal_Bool ImplIntrospectionAdapter::hasElements() throw( RuntimeException, std::exception )
{
return mxObjElementAccess->hasElements();
}
@@ -1035,7 +1035,7 @@ Any ImplIntrospectionAdapter::getByName(const OUString& Name)
return mxObjNameAccess->getByName( Name );
}
-Sequence< OUString > ImplIntrospectionAdapter::getElementNames(void)
+Sequence< OUString > ImplIntrospectionAdapter::getElementNames()
throw( RuntimeException, std::exception )
{
return mxObjNameAccess->getElementNames();
@@ -1067,8 +1067,8 @@ void ImplIntrospectionAdapter::removeByName(const OUString& Name)
}
// Methoden von XIndexAccess
-// Schon in XNameAccess: virtual Reference<XIdlClass> getElementType(void) const
-sal_Int32 ImplIntrospectionAdapter::getCount(void) throw( RuntimeException, std::exception )
+// Schon in XNameAccess: virtual Reference<XIdlClass> getElementType() const
+sal_Int32 ImplIntrospectionAdapter::getCount() throw( RuntimeException, std::exception )
{
return mxObjIndexAccess->getCount();
}
@@ -1099,8 +1099,8 @@ void ImplIntrospectionAdapter::removeByIndex(sal_Int32 Index)
}
// Methoden von XEnumerationAccess
-// Schon in XNameAccess: virtual Reference<XIdlClass> getElementType(void) const;
-Reference<XEnumeration> ImplIntrospectionAdapter::createEnumeration(void) throw( RuntimeException, std::exception )
+// Schon in XNameAccess: virtual Reference<XIdlClass> getElementType() const;
+Reference<XEnumeration> ImplIntrospectionAdapter::createEnumeration() throw( RuntimeException, std::exception )
{
return mxObjEnumerationAccess->createEnumeration();
}
@@ -1136,7 +1136,7 @@ void ImplIntrospectionAdapter::set(Any& array, sal_Int32 index, const Any& value
// Methoden von XIntrospectionAccess
-sal_Int32 ImplIntrospectionAccess::getSuppliedMethodConcepts(void)
+sal_Int32 ImplIntrospectionAccess::getSuppliedMethodConcepts()
throw( RuntimeException, std::exception )
{
return MethodConcept::DANGEROUS |
@@ -1147,7 +1147,7 @@ sal_Int32 ImplIntrospectionAccess::getSuppliedMethodConcepts(void)
INDEXCONTAINER;
}
-sal_Int32 ImplIntrospectionAccess::getSuppliedPropertyConcepts(void)
+sal_Int32 ImplIntrospectionAccess::getSuppliedPropertyConcepts()
throw( RuntimeException, std::exception )
{
return PropertyConcept::DANGEROUS |
@@ -1338,7 +1338,7 @@ Sequence< Reference<XIdlMethod> > ImplIntrospectionAccess::getMethods(sal_Int32
return maLastMethodSeq;
}
-Sequence< Type > ImplIntrospectionAccess::getSupportedListeners(void)
+Sequence< Type > ImplIntrospectionAccess::getSupportedListeners()
throw( RuntimeException, std::exception )
{
return mpStaticImpl->getSupportedListeners();
@@ -1361,7 +1361,7 @@ Reference<XInterface> SAL_CALL ImplIntrospectionAccess::queryAdapter( const Type
}
// Methoden von XMaterialHolder
-Any ImplIntrospectionAccess::getMaterial(void) throw(RuntimeException, std::exception)
+Any ImplIntrospectionAccess::getMaterial() throw(RuntimeException, std::exception)
{
return maInspectedObject;
}
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index 5a29982b6cef..da5ff896e63a 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -116,10 +116,10 @@ public:
throw( RuntimeException, std::exception) SAL_OVERRIDE;
// Methoden von XMaterialHolder
- virtual Any SAL_CALL getMaterial(void) throw(RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual Any SAL_CALL getMaterial() throw(RuntimeException, std::exception) SAL_OVERRIDE;
// XInvocation
- virtual Reference<XIntrospectionAccess> SAL_CALL getIntrospection(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual Reference<XIntrospectionAccess> SAL_CALL getIntrospection() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual Any SAL_CALL invoke(const OUString& FunctionName, const Sequence< Any >& Params, Sequence< sal_Int16 >& OutParamIndex, Sequence< Any >& OutParam)
throw( IllegalArgumentException, CannotConvertException, InvocationTargetException, RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL setValue(const OUString& PropertyName, const Any& Value)
@@ -139,10 +139,10 @@ public:
// All Access and Container methods are not thread save
// XElementAccess
- virtual Type SAL_CALL getElementType(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE
+ virtual Type SAL_CALL getElementType() throw( RuntimeException, std::exception ) SAL_OVERRIDE
{ return _xElementAccess->getElementType(); }
- virtual sal_Bool SAL_CALL hasElements(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE
+ virtual sal_Bool SAL_CALL hasElements() throw( RuntimeException, std::exception ) SAL_OVERRIDE
{ return _xElementAccess->hasElements(); }
// XNameContainer
@@ -163,7 +163,7 @@ public:
throw( NoSuchElementException, WrappedTargetException, RuntimeException, std::exception ) SAL_OVERRIDE
{ return _xNameAccess->getByName( Name ); }
- virtual Sequence<OUString> SAL_CALL getElementNames(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE
+ virtual Sequence<OUString> SAL_CALL getElementNames() throw( RuntimeException, std::exception ) SAL_OVERRIDE
{ return _xNameAccess->getElementNames(); }
virtual sal_Bool SAL_CALL hasByName( const OUString& Name ) throw( RuntimeException, std::exception ) SAL_OVERRIDE
@@ -183,7 +183,7 @@ public:
{ _xIndexContainer->removeByIndex( Index ); }
// XIndexAccess
- virtual sal_Int32 SAL_CALL getCount(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE
+ virtual sal_Int32 SAL_CALL getCount() throw( RuntimeException, std::exception ) SAL_OVERRIDE
{ return _xIndexAccess->getCount(); }
virtual Any SAL_CALL getByIndex( sal_Int32 Index )
@@ -191,7 +191,7 @@ public:
{ return _xIndexAccess->getByIndex( Index ); }
// XEnumerationAccess
- virtual Reference<XEnumeration> SAL_CALL createEnumeration(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE
+ virtual Reference<XEnumeration> SAL_CALL createEnumeration() throw( RuntimeException, std::exception ) SAL_OVERRIDE
{ return _xEnumerationAccess->createEnumeration(); }
// XExactName
@@ -329,7 +329,7 @@ Any SAL_CALL Invocation_Impl::queryInterface( const Type & aType )
-Any Invocation_Impl::getMaterial(void) throw(RuntimeException, std::exception)
+Any Invocation_Impl::getMaterial() throw(RuntimeException, std::exception)
{
// AB, 12.2.1999 Sicherstellen, dass das Material wenn moeglich
// aus der direkten Invocation bzw. von der Introspection geholt
@@ -456,7 +456,7 @@ OUString Invocation_Impl::getExactName( const OUString& rApproximateName )
}
-Reference<XIntrospectionAccess> Invocation_Impl::getIntrospection(void)
+Reference<XIntrospectionAccess> Invocation_Impl::getIntrospection()
throw( RuntimeException, std::exception )
{
if( _xDirect.is() )
@@ -973,7 +973,7 @@ void Invocation_Impl::fillInfoForMethod
// XTypeProvider
-Sequence< Type > SAL_CALL Invocation_Impl::getTypes(void) throw( RuntimeException, std::exception )
+Sequence< Type > SAL_CALL Invocation_Impl::getTypes() throw( RuntimeException, std::exception )
{
static Sequence< Type > const * s_pTypes = 0;
if (! s_pTypes)
@@ -1057,10 +1057,10 @@ public:
// XServiceInfo
OUString SAL_CALL getImplementationName() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
- Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
+ Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
// XSingleServiceFactory
- Reference<XInterface> SAL_CALL createInstance(void) throw( Exception, RuntimeException, std::exception ) SAL_OVERRIDE;
+ Reference<XInterface> SAL_CALL createInstance() throw( Exception, RuntimeException, std::exception ) SAL_OVERRIDE;
Reference<XInterface> SAL_CALL createInstanceWithArguments(
const Sequence<Any>& rArguments ) throw( Exception, RuntimeException, std::exception ) SAL_OVERRIDE;
private:
@@ -1099,13 +1099,13 @@ sal_Bool InvocationService::supportsService(const OUString& ServiceName) throw(
}
// XServiceInfo
-Sequence< OUString > InvocationService::getSupportedServiceNames(void) throw( RuntimeException, std::exception )
+Sequence< OUString > InvocationService::getSupportedServiceNames() throw( RuntimeException, std::exception )
{
return inv_getSupportedServiceNames();
}
-Reference<XInterface> InvocationService::createInstance(void) throw( Exception, RuntimeException, std::exception )
+Reference<XInterface> InvocationService::createInstance() throw( Exception, RuntimeException, std::exception )
{
//TODO:throw( Exception("no default construction of invocation adapter possible!", *this) );
return Reference<XInterface>(); // dummy
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx
index 7b013674f996..f343a7d7b378 100644
--- a/stoc/source/typeconv/convert.cxx
+++ b/stoc/source/typeconv/convert.cxx
@@ -254,7 +254,7 @@ public:
virtual OUString SAL_CALL getImplementationName() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
throw( RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames(void)
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw( RuntimeException, std::exception ) SAL_OVERRIDE;
// XTypeConverter
@@ -281,7 +281,7 @@ sal_Bool TypeConverter_Impl::supportsService(const OUString& ServiceName) throw(
}
// XServiceInfo
-Sequence< OUString > TypeConverter_Impl::getSupportedServiceNames(void) throw( RuntimeException, std::exception )
+Sequence< OUString > TypeConverter_Impl::getSupportedServiceNames() throw( RuntimeException, std::exception )
{
Sequence< OUString > seqNames(1);
seqNames.getArray()[0] = "com.sun.star.script.Converter";
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx
index aa3719abbc85..63ab8ca308eb 100644
--- a/stoc/test/testcorefl.cxx
+++ b/stoc/test/testcorefl.cxx
@@ -61,7 +61,7 @@ class OInterfaceA : public WeakImplHelper1< XInterfaceA >
{
public:
- virtual void SAL_CALL methodA(void) throw (RuntimeException)
+ virtual void SAL_CALL methodA() throw (RuntimeException)
{}
virtual void SAL_CALL methodB(sal_Int16 /*aShort*/) throw (RuntimeException)
diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx
index b3908eb7e771..9e89f6987215 100644
--- a/stoc/test/testintrosp.cxx
+++ b/stoc/test/testintrosp.cxx
@@ -196,7 +196,7 @@ public:
};
-Sequence< Property > ImplPropertySetInfo::getProperties(void)
+Sequence< Property > ImplPropertySetInfo::getProperties()
throw( RuntimeException )
{
static Sequence<Property> * pSeq = NULL;
@@ -300,7 +300,7 @@ class ImplIntroTest : public ImplIntroTestHelper
Reference< XVetoableChangeListener > aVetoPropChangeListener;
OUString aVetoPropChangeListenerStr;
- void Init( void );
+ void Init();
public:
ImplIntroTest( const Reference< XMultiServiceFactory > & xMgr )
@@ -420,7 +420,7 @@ public:
throw(IndexOutOfBoundsException, WrappedTargetException, RuntimeException);
};
-void ImplIntroTest::Init( void )
+void ImplIntroTest::Init()
{
// set unique name
static sal_Int32 nObjCount = 0;
@@ -525,7 +525,7 @@ Any ImplIntroTest::getPropertyValue( const OUString& PropertyName )
return Any();
}
-OUString ImplIntroTest::getFirstName(void)
+OUString ImplIntroTest::getFirstName()
throw(RuntimeException)
{
return OUString( OUString("Markus") );
diff --git a/stoc/test/testsmgr_cpnt.cxx b/stoc/test/testsmgr_cpnt.cxx
index 33d29837010c..807016dcc04a 100644
--- a/stoc/test/testsmgr_cpnt.cxx
+++ b/stoc/test/testsmgr_cpnt.cxx
@@ -95,8 +95,8 @@ public:
// XServiceInfo
OUString SAL_CALL getImplementationName() throw();
sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw();
- Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw();
- static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static(void) throw();
+ Sequence< OUString > SAL_CALL getSupportedServiceNames() throw();
+ static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static() throw();
private:
// static XIdlClassRef getStaticIdlClass();
@@ -144,7 +144,7 @@ sal_Bool Test_Manager_Impl::supportsService( const OUString& ServiceName ) throw
// Test_Manager_Impl::getSupportedServiceNames
-Sequence< OUString > Test_Manager_Impl::getSupportedServiceNames(void) throw ()
+Sequence< OUString > Test_Manager_Impl::getSupportedServiceNames() throw ()
{
return getSupportedServiceNames_Static();
}
@@ -152,7 +152,7 @@ Sequence< OUString > Test_Manager_Impl::getSupportedServiceNames(void) throw ()
// Test_Manager_Impl::getSupportedServiceNames_Static
-Sequence< OUString > Test_Manager_Impl::getSupportedServiceNames_Static(void) throw ()
+Sequence< OUString > Test_Manager_Impl::getSupportedServiceNames_Static() throw ()
{
Sequence< OUString > aSNS( 2 );
aSNS.getArray()[0] = SERVICE_NAME;