diff options
author | mfe <mfe@openoffice.org> | 2001-02-01 12:03:37 +0000 |
---|---|---|
committer | mfe <mfe@openoffice.org> | 2001-02-01 12:03:37 +0000 |
commit | b5e307f737357f64a379aebcfe7522aefc1fc73e (patch) | |
tree | bd2cbef03fc57152ae3f6a98b625ac88c13d103b | |
parent | a318c10ece83a3bfc7aac4f14a04548a63697e5c (diff) |
removed ChangeGlobalInit
-rw-r--r-- | bridges/test/testclient.cxx | 12 | ||||
-rw-r--r-- | bridges/test/testoffice.cxx | 11 | ||||
-rw-r--r-- | bridges/test/testserver.cxx | 12 |
3 files changed, 6 insertions, 29 deletions
diff --git a/bridges/test/testclient.cxx b/bridges/test/testclient.cxx index 2b03d72a62c2..cb27f2e0058d 100644 --- a/bridges/test/testclient.cxx +++ b/bridges/test/testclient.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testclient.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jbu $ $Date: 2000-10-19 15:16:14 $ + * last change: $Author: mfe $ $Date: 2001-02-01 13:03:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,11 +102,6 @@ using namespace ::com::sun::star::test::performance; #include "testcomp.h" -#ifdef SOLARIS -extern "C" void ChangeGlobalInit(); -#endif - - #ifdef UNX #define REG_PREFIX "lib" #define DLL_POSTFIX ".so" @@ -168,9 +163,6 @@ void testLatency( const Reference < XConnection > &r , sal_Bool bReply ) void main( int argc, char *argv[] ) { sal_Bool bUseNew = ( 3 == argc ); -#ifdef SOLARIS - ChangeGlobalInit(); // Switch on threads ! -#endif if( argc < 2 ) { printf( diff --git a/bridges/test/testoffice.cxx b/bridges/test/testoffice.cxx index 3e937ce9f697..91c1b1046a09 100644 --- a/bridges/test/testoffice.cxx +++ b/bridges/test/testoffice.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testoffice.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jbu $ $Date: 2000-10-19 15:16:14 $ + * last change: $Author: mfe $ $Date: 2001-02-01 13:03:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -103,9 +103,6 @@ using namespace ::com::sun::star::text; #include <conio.h> #endif -#ifdef SOLARIS -extern "C" void ChangeGlobalInit(); -#endif void mygetchar() { @@ -241,10 +238,6 @@ void doSomething( const Reference < XInterface > &r ) void main( int argc, char *argv[] ) { - -#ifdef SOLARIS - ChangeGlobalInit(); // Switch on threads ! -#endif if( argc < 2 ) { printf( "usage : testclient host:port" ); diff --git a/bridges/test/testserver.cxx b/bridges/test/testserver.cxx index d3fa7ee58316..5ec303113119 100644 --- a/bridges/test/testserver.cxx +++ b/bridges/test/testserver.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testserver.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jbu $ $Date: 2000-10-19 15:16:14 $ + * last change: $Author: mfe $ $Date: 2001-02-01 13:03:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -213,10 +213,6 @@ void MyThread::run() } -#ifdef SOLARIS -extern "C" void ChangeGlobalInit(); -#endif - void main( int argc, char *argv[] ) { // testserver(); @@ -235,10 +231,6 @@ void main( int argc, char *argv[] ) parseCommandLine( argv , &sConnectionString , &sProtocol , &bLatency , &bReverse ); -#ifdef SOLARIS - ChangeGlobalInit(); // Switch on threads ! -#endif - { Reference< XMultiServiceFactory > rSMgr = createRegistryServiceFactory( OUString( RTL_CONSTASCII_USTRINGPARAM( "server.rdb" ) ) ); |