summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authormfe <mfe@openoffice.org>2001-02-01 11:42:49 +0000
committermfe <mfe@openoffice.org>2001-02-01 11:42:49 +0000
commita318c10ece83a3bfc7aac4f14a04548a63697e5c (patch)
tree76b069869f63e2e844df92a70cc9b9401811aa14 /io
parentf00805dd0e5987cee8c598c68af4a8829267486f (diff)
removed ChangeGlobalInit
Diffstat (limited to 'io')
-rw-r--r--io/test/testcomponent.cxx11
-rw-r--r--io/test/testconnection.cxx10
2 files changed, 4 insertions, 17 deletions
diff --git a/io/test/testcomponent.cxx b/io/test/testcomponent.cxx
index 25d05d7c272f..ebfaf6d0be95 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 ff072ad78806..4c7adab9b4e3 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")) ) );