summaryrefslogtreecommitdiff
path: root/io/test/testconnection.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-04-23 15:22:11 +0000
committerRüdiger Timm <rt@openoffice.org>2003-04-23 15:22:11 +0000
commit689b7e79404003a6fcb8cb7d3457befb38735625 (patch)
tree325a566ae922e104ab2a1a0c1b00f1679885d402 /io/test/testconnection.cxx
parent48f8554b858d85c28e787dc58138b9ae3ff11a13 (diff)
INTEGRATION: CWS uno2 (1.8.50); FILE MERGED
2003/04/08 13:32:49 dbo 1.8.50.1: #107991# UNO shared library component renaming
Diffstat (limited to 'io/test/testconnection.cxx')
-rw-r--r--io/test/testconnection.cxx22
1 files changed, 5 insertions, 17 deletions
diff --git a/io/test/testconnection.cxx b/io/test/testconnection.cxx
index 1f5e43d80b44..b28e45e77f61 100644
--- a/io/test/testconnection.cxx
+++ b/io/test/testconnection.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testconnection.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: jbu $ $Date: 2001-03-15 17:55:24 $
+ * last change: $Author: rt $ $Date: 2003-04-23 16:22:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -212,15 +212,6 @@ void testConnection( const OUString &sConnectionDescription ,
}
-#ifdef UNX
-#define REG_PREFIX "lib"
-#define DLL_POSTFIX ".so"
-#else
-#define REG_PREFIX ""
-#define DLL_POSTFIX ".dll"
-#endif
-
-
#if (defined UNX) || (defined OS2)
int main( int argc, char * argv[] )
#else
@@ -234,15 +225,12 @@ int __cdecl main( int argc, char * argv[] )
xMgr->createInstance( OUString::createFromAscii("com.sun.star.registry.ImplementationRegistration") ), UNO_QUERY );
OSL_ENSURE( xImplReg.is(), "### no impl reg!" );
- OUString aLibName = OUString::createFromAscii( REG_PREFIX );
- aLibName += OUString::createFromAscii("connectr");
- aLibName += OUString::createFromAscii(DLL_POSTFIX);
+ OUString aLibName =
+ OUString::createFromAscii( "connector.uno" SAL_DLLEXTENSION );
xImplReg->registerImplementation(
OUString::createFromAscii("com.sun.star.loader.SharedLibrary"), aLibName, Reference< XSimpleRegistry >() );
- aLibName = OUString::createFromAscii( REG_PREFIX );
- aLibName += OUString::createFromAscii("acceptor");
- aLibName += OUString::createFromAscii(DLL_POSTFIX);
+ aLibName = OUString::createFromAscii( "acceptor.uno" SAL_DLLEXTENSION );
xImplReg->registerImplementation(
OUString::createFromAscii("com.sun.star.loader.SharedLibrary"), aLibName, Reference< XSimpleRegistry >() );