diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-04-23 15:23:23 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-04-23 15:23:23 +0000 |
commit | d0b952917dfdd447b2a15d928169c8756e9e8b82 (patch) | |
tree | f6941f836d510cb2526021c6a4e693053dc96399 /io | |
parent | f45e8eab334a58b0efd7d002abe2c5cb721414db (diff) |
INTEGRATION: CWS uno2 (1.6.50); FILE MERGED
2003/04/08 13:32:49 dbo 1.6.50.1: #107991# UNO shared library component renaming
Diffstat (limited to 'io')
-rw-r--r-- | io/test/testcomponent.cxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/io/test/testcomponent.cxx b/io/test/testcomponent.cxx index 39cecb4c0d21..4547e7f80e2d 100644 --- a/io/test/testcomponent.cxx +++ b/io/test/testcomponent.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testcomponent.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: vg $ $Date: 2003-04-15 15:59:08 $ + * last change: $Author: rt $ $Date: 2003-04-23 16:23:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -118,13 +118,7 @@ int main (int argc, char **argv) { // Load dll for the tested component for( int n = 2 ; n <argc ; n ++ ) { -#ifdef SAL_W32 OUString aDllName = OStringToOUString( argv[n] , RTL_TEXTENCODING_ASCII_US ); -#else - OUString aDllName = OUString::createFromAscii("lib"); - aDllName += OStringToOUString( argv[n] , RTL_TEXTENCODING_ASCII_US ); - aDllName += OUString::createFromAscii(".so"); -#endif xReg->registerImplementation( OUString::createFromAscii( "com.sun.star.loader.SharedLibrary" ), aDllName, @@ -132,7 +126,6 @@ int main (int argc, char **argv) } } catch( Exception &e ) { - printf( "Couldn't reach dll %s\n" , szBuf ); printf( "%s\n" , OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ); exit(1); |