summaryrefslogtreecommitdiff
path: root/stoc/test/testloader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/testloader.cxx')
-rw-r--r--stoc/test/testloader.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/stoc/test/testloader.cxx b/stoc/test/testloader.cxx
index c2a664f46eed..01491a7f8e83 100644
--- a/stoc/test/testloader.cxx
+++ b/stoc/test/testloader.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testloader.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
@@ -108,8 +108,11 @@ int _cdecl main( int argc, char * argv[] )
OModule* pModule = new OModule(OUString());
- OUString dllName;
- NAMESPACE_VOS(ORealDynamicLoader)::computeLibraryName(OUString::createFromAscii("cpld"), dllName);
+#ifdef SAL_W32
+ OUString dllName( OUString::createFromAscii("cpld.dll") );
+#else
+ OUString dllName( OUString::createFromAscii("libcpld.so") );
+#endif
if (pModule->load(dllName))
{