diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2000-11-08 08:36:19 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2000-11-08 08:36:19 +0000 |
commit | 415651ce234e669b0e421d6b251a00e2aeb73192 (patch) | |
tree | 31a783d595414e93c4c2933eba4f56394067d9bc /stoc/test/testregistry.cxx | |
parent | e0a306f25bac373b8c70b5f003ab1c6ab11af6d8 (diff) |
ORealDynamicLoader scratched out
Diffstat (limited to 'stoc/test/testregistry.cxx')
-rw-r--r-- | stoc/test/testregistry.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/stoc/test/testregistry.cxx b/stoc/test/testregistry.cxx index 8ff0cf91bd36..13eb146ca5f4 100644 --- a/stoc/test/testregistry.cxx +++ b/stoc/test/testregistry.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testregistry.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:29:36 $ + * last change: $Author: dbo $ $Date: 2000-11-08 09:36:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -195,8 +195,11 @@ void test_SimpleRegistry() Reference<XInterface> xIFace; OModule* pModule = new OModule(OUString()); - OUString dllName; - NAMESPACE_VOS(ORealDynamicLoader)::computeLibraryName(OUString::createFromAscii("simreg"), dllName); +#ifdef SAL_W32 + OUString dllName( OUString::createFromAscii("simreg.dll") ); +#else + OUString dllName( OUString::createFromAscii("libsimreg.so") ); +#endif if (pModule->load(dllName)) { |