diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-04-23 15:15:04 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-04-23 15:15:04 +0000 |
commit | 91e0fc8ca406218634ef8cfe23825a5cd52c5d2e (patch) | |
tree | 06173a9615b2d567f66398bdadaadf402811ee39 /stoc/test/testregistry.cxx | |
parent | 858db19dd150a2d5b6c0a2ea3a48d4cc7a0351f1 (diff) |
INTEGRATION: CWS uno2 (1.11.42); FILE MERGED
2003/04/08 13:56:30 dbo 1.11.42.1: #107991# UNO shared library component renaming
Diffstat (limited to 'stoc/test/testregistry.cxx')
-rw-r--r-- | stoc/test/testregistry.cxx | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/stoc/test/testregistry.cxx b/stoc/test/testregistry.cxx index d50444a7e937..e0b2245fd8f7 100644 --- a/stoc/test/testregistry.cxx +++ b/stoc/test/testregistry.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testregistry.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: vg $ $Date: 2003-04-15 17:14:45 $ + * last change: $Author: rt $ $Date: 2003-04-23 16:15:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -228,15 +228,8 @@ void test_SimpleRegistry( Reference<XInterface> xIFace; Module module; -#ifdef SAL_W32 - OUString dllName( OUString::createFromAscii("simreg.dll") ); -#else -#ifdef MACOSX - OUString dllName( OUString::createFromAscii("libsimreg.dylib") ); -#else - OUString dllName( OUString::createFromAscii("libsimreg.so") ); -#endif -#endif + OUString dllName( + RTL_CONSTASCII_USTRINGPARAM("simplreg.uno" SAL_DLLEXTENSION) ); if (module.load(dllName)) { @@ -246,8 +239,9 @@ void test_SimpleRegistry( if (pCompFactoryFunc) { - XSingleServiceFactory * pRet = (XSingleServiceFactory *)(*pCompFactoryFunc)( - "com.sun.star.comp.stoc.SimpleRegistry", 0, 0 ); + XSingleServiceFactory * pRet = (XSingleServiceFactory *) + (*pCompFactoryFunc)( + "com.sun.star.comp.stoc.SimpleRegistry", 0, 0 ); if (pRet) { xIFace = pRet; |