From 098a1350e57a64e12edaedd2941fdc116cc2c91d Mon Sep 17 00:00:00 2001 From: Daniel Boelzle Date: Tue, 20 Feb 2001 13:05:25 +0000 Subject: further impl --- xmlscript/test/imexp.cxx | 16 +++++++-- xmlscript/test/test.xml | 92 +++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 97 insertions(+), 11 deletions(-) (limited to 'xmlscript/test') diff --git a/xmlscript/test/imexp.cxx b/xmlscript/test/imexp.cxx index 3471e8bfed51..203c0c56249e 100644 --- a/xmlscript/test/imexp.cxx +++ b/xmlscript/test/imexp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: imexp.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: dbo $ $Date: 2001-02-16 14:14:49 $ + * last change: $Author: dbo $ $Date: 2001-02-20 14:05:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -224,6 +224,18 @@ Reference< lang::XMultiServiceFactory > createApplicationServiceManager() aDllName = OUString::createFromAscii( "libtk" ); aDllName += OUString::valueOf( (sal_Int32)SUPD ); aDllName += OUString::createFromAscii( ".so" ); +#endif + xReg->registerImplementation( + OUString::createFromAscii( "com.sun.star.loader.SharedLibrary" ), + aDllName, Reference< registry::XSimpleRegistry > () ); +#ifdef SAL_W32 + aDllName = OUString::createFromAscii( "svt" ); + aDllName += OUString::valueOf( (sal_Int32)SUPD ); + aDllName += OUString::createFromAscii( "mi.dll" ); +#else + aDllName = OUString::createFromAscii( "libsvt" ); + aDllName += OUString::valueOf( (sal_Int32)SUPD ); + aDllName += OUString::createFromAscii( ".so" ); #endif xReg->registerImplementation( OUString::createFromAscii( "com.sun.star.loader.SharedLibrary" ), diff --git a/xmlscript/test/test.xml b/xmlscript/test/test.xml index f682936f7fc3..e926521a82ac 100644 --- a/xmlscript/test/test.xml +++ b/xmlscript/test/test.xml @@ -1,7 +1,7 @@ + label="Test-Dialog" height="600" width="600"> @@ -10,26 +10,100 @@ +