summaryrefslogtreecommitdiff
path: root/sal/qa/osl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/osl')
-rw-r--r--sal/qa/osl/file/osl_File.cxx2
-rw-r--r--sal/qa/osl/module/osl_Module.cxx2
-rw-r--r--sal/qa/osl/process/osl_process.cxx2
-rw-r--r--sal/qa/osl/profile/osl_old_testprofile.cxx2
-rw-r--r--sal/qa/osl/socket/osl_Socket.cxx4
-rw-r--r--sal/qa/osl/socket/sockethelper.cxx4
-rw-r--r--sal/qa/osl/socket/sockethelper.hxx4
7 files changed, 10 insertions, 10 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index cec250d6f4a1..2b5766225ac1 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -426,7 +426,7 @@ inline void changeFileMode( ::rtl::OUString & filepath, sal_Int32 mode )
}
#endif
-inline ::rtl::OUString getCurrentPID( void );
+inline ::rtl::OUString getCurrentPID();
// Beginning of the test cases for FileBase class
diff --git a/sal/qa/osl/module/osl_Module.cxx b/sal/qa/osl/module/osl_Module.cxx
index be812e04b161..56f781069f28 100644
--- a/sal/qa/osl/module/osl_Module.cxx
+++ b/sal/qa/osl/module/osl_Module.cxx
@@ -29,7 +29,7 @@ using ::rtl::OString;
/** get dll file URL.
*/
-inline ::rtl::OUString getDllURL( void )
+inline ::rtl::OUString getDllURL()
{
#if ( defined WNT ) // lib in Unix and lib in Windows are not same in file name.
::rtl::OUString libPath( "test_Module_DLL.dll" );
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx
index b053f9fdb135..4a9cd425658c 100644
--- a/sal/qa/osl/process/osl_process.cxx
+++ b/sal/qa/osl/process/osl_process.cxx
@@ -80,7 +80,7 @@ using ::rtl::OString;
/** get binary Path.
*/
-inline ::rtl::OUString getExecutablePath( void )
+inline ::rtl::OUString getExecutablePath()
{
::rtl::OUString dirPath;
osl::Module::getUrlFromAddress(
diff --git a/sal/qa/osl/profile/osl_old_testprofile.cxx b/sal/qa/osl/profile/osl_old_testprofile.cxx
index 97ef52143655..3cfba1247d65 100644
--- a/sal/qa/osl/profile/osl_old_testprofile.cxx
+++ b/sal/qa/osl/profile/osl_old_testprofile.cxx
@@ -38,7 +38,7 @@ namespace osl_Profile
CPPUNIT_TEST_SUITE_END( );
};
-void oldtests::test_profile(void)
+void oldtests::test_profile()
{
rtl::OUString baseUrl;
CPPUNIT_ASSERT(rtl::Bootstrap::get("UserInstallation", baseUrl));
diff --git a/sal/qa/osl/socket/osl_Socket.cxx b/sal/qa/osl/socket/osl_Socket.cxx
index 94eed88daa98..2c9e1ff58f98 100644
--- a/sal/qa/osl/socket/osl_Socket.cxx
+++ b/sal/qa/osl/socket/osl_Socket.cxx
@@ -128,7 +128,7 @@ inline void printUString( const ::rtl::OUString & str, const sal_Char * msg = ""
mindy: gethostbyname( "localhost" ), on Linux, it returns the hostname in /etc/hosts + domain name,
if no entry in /etc/hosts, it returns "localhost" + domain name
*/
-inline ::rtl::OUString getHost( void )
+inline ::rtl::OUString getHost()
{
struct hostent *hptr;
@@ -141,7 +141,7 @@ inline ::rtl::OUString getHost( void )
/** get the full host name of the current processor, such as "aegean.prc.sun.com" --mindyliu
*/
-inline ::rtl::OUString getThisHostname( void )
+inline ::rtl::OUString getThisHostname()
{
::rtl::OUString aUString;
#ifdef WNT
diff --git a/sal/qa/osl/socket/sockethelper.cxx b/sal/qa/osl/socket/sockethelper.cxx
index 3057c350f3a0..df4f5e7c11ca 100644
--- a/sal/qa/osl/socket/sockethelper.cxx
+++ b/sal/qa/osl/socket/sockethelper.cxx
@@ -86,7 +86,7 @@ void printUString( const ::rtl::OUString & str, const char* msg)
mindy: gethostbyname( "localhost" ), on Linux, it returns the hostname in /etc/hosts + domain name,
if no entry in /etc/hosts, it returns "localhost" + domain name
*/
-::rtl::OUString getHost( void )
+::rtl::OUString getHost()
{
struct hostent *hptr;
@@ -99,7 +99,7 @@ void printUString( const ::rtl::OUString & str, const char* msg)
/** get the full host name of the current processor, such as "aegean.prc.sun.com" --mindyliu
*/
-::rtl::OUString getThisHostname( void )
+::rtl::OUString getThisHostname()
{
::rtl::OUString aUString;
#ifdef WNT
diff --git a/sal/qa/osl/socket/sockethelper.hxx b/sal/qa/osl/socket/sockethelper.hxx
index 4debc78d87f4..9e400d8f3c05 100644
--- a/sal/qa/osl/socket/sockethelper.hxx
+++ b/sal/qa/osl/socket/sockethelper.hxx
@@ -109,10 +109,10 @@ void printUString( const ::rtl::OUString & str, const char * msg = "" );
mindy: gethostbyname( "localhost" ), on Linux, it returns the hostname in /etc/hosts + domain name,
if no entry in /etc/hosts, it returns "localhost" + domain name
*/
-::rtl::OUString getHost( void );
+::rtl::OUString getHost();
/** get the full host name of the current processor, such as "aegean.prc.sun.com" --mindyliu
*/
-::rtl::OUString getThisHostname( void );
+::rtl::OUString getThisHostname();
/** get IP by name, search /etc/hosts first, then search from dns, fail return OUString("")
*/
::rtl::OUString getIPbyName( rtl::OString const& str_name );