diff options
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 11 | ||||
-rw-r--r-- | io/test/testcomponent.cxx | 11 | ||||
-rw-r--r-- | io/test/testconnection.cxx | 10 | ||||
-rw-r--r-- | remotebridges/examples/officeclient.cxx | 7 |
4 files changed, 8 insertions, 31 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index 13e445659..1ed63c216 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoexe.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: svesik $ $Date: 2000-11-22 23:17:29 $ + * last change: $Author: mfe $ $Date: 2001-02-01 12:42:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -669,16 +669,9 @@ void ODisposingListener::waitFor( const Reference< XComponent > & xComp ) //################################################################################################## -#ifdef SOLARIS - extern "C" void ChangeGlobalInit(); -#endif extern "C" int SAL_CALL main( int argc, const char * argv[] ) { -#ifdef SOLARIS - ChangeGlobalInit(); -#endif - if (argc <= 1) { out( arUsingText ); diff --git a/io/test/testcomponent.cxx b/io/test/testcomponent.cxx index 7742acf2a..e6bb7b0d2 100644 --- a/io/test/testcomponent.cxx +++ b/io/test/testcomponent.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testcomponent.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jbu $ $Date: 2000-12-08 11:07:30 $ + * last change: $Author: mfe $ $Date: 2001-02-01 12:40:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -89,9 +89,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::registry; // Needed to switch on solaris threads -#ifdef SOLARIS -extern "C" void ChangeGlobalInit(); -#endif int main (int argc, char **argv) { @@ -100,10 +97,6 @@ int main (int argc, char **argv) printf( "usage : testcomponent service dll [additional dlls]\n" ); exit( 0 ); } -#ifdef SOLARIS - // switch on threads in solaris - ChangeGlobalInit(); -#endif // create service manager Reference< XMultiServiceFactory > xSMgr = createRegistryServiceFactory( diff --git a/io/test/testconnection.cxx b/io/test/testconnection.cxx index 03a1c5f65..6ec4479ff 100644 --- a/io/test/testconnection.cxx +++ b/io/test/testconnection.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testconnection.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jbu $ $Date: 2001-01-08 13:27:40 $ + * last change: $Author: mfe $ $Date: 2001-02-01 12:40:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -216,9 +216,6 @@ void testConnection( const OUString &sConnectionDescription , #define DLL_POSTFIX ".dll" #endif -#ifdef SOLARIS - extern "C" ChangeGlobalInit(); -#endif #if (defined UNX) || (defined OS2) int main( int argc, char * argv[] ) @@ -226,9 +223,6 @@ int main( int argc, char * argv[] ) int __cdecl main( int argc, char * argv[] ) #endif { -#ifdef SOLARIS - ChangeGlobalInit(); -#endif Reference< XMultiServiceFactory > xMgr( createRegistryServiceFactory( OUString( RTL_CONSTASCII_USTRINGPARAM("applicat.rdb")) ) ); diff --git a/remotebridges/examples/officeclient.cxx b/remotebridges/examples/officeclient.cxx index 22518ba53..e5d76fda8 100644 --- a/remotebridges/examples/officeclient.cxx +++ b/remotebridges/examples/officeclient.cxx @@ -2,9 +2,9 @@ * * $RCSfile: officeclient.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jbu $ $Date: 2000-10-26 14:21:20 $ + * last change: $Author: mfe $ $Date: 2001-02-01 12:41:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -94,9 +94,6 @@ using namespace ::com::sun::star::text; using namespace ::com::sun::star::frame; -#ifdef SOLARIS -extern "C" void ChangeGlobalInit(); -#endif namespace remotebridges_officeclient { |