summaryrefslogtreecommitdiff
path: root/stoc/test/testproxyfac.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-04-23 15:14:54 +0000
committerRüdiger Timm <rt@openoffice.org>2003-04-23 15:14:54 +0000
commit858db19dd150a2d5b6c0a2ea3a48d4cc7a0351f1 (patch)
tree9e8f9ba12af901aa3b782a094570e110d6071745 /stoc/test/testproxyfac.cxx
parent1bd272a638bb36a12dff1c1490af68447d2df8d3 (diff)
INTEGRATION: CWS uno2 (1.6.42); FILE MERGED
2003/04/08 13:56:30 dbo 1.6.42.1: #107991# UNO shared library component renaming
Diffstat (limited to 'stoc/test/testproxyfac.cxx')
-rw-r--r--stoc/test/testproxyfac.cxx28
1 files changed, 18 insertions, 10 deletions
diff --git a/stoc/test/testproxyfac.cxx b/stoc/test/testproxyfac.cxx
index f1ea62d23eee..76101b7937d9 100644
--- a/stoc/test/testproxyfac.cxx
+++ b/stoc/test/testproxyfac.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testproxyfac.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2002-08-19 14:22:19 $
+ * last change: $Author: rt $ $Date: 2003-04-23 16:14:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -219,18 +219,26 @@ int __cdecl main( int argc, char * argv[] )
try
{
Reference< XImplementationRegistration > xImplReg(
- xMgr->createInstance( OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.registry.ImplementationRegistration") ) ), UNO_QUERY );
+ xMgr->createInstance(
+ OUString(
+ RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.registry.ImplementationRegistration")
+ ) ),
+ UNO_QUERY );
OSL_ENSURE( xImplReg.is(), "### no impl reg!" );
- OUString aLibName( OUString::createFromAscii(REG_PREFIX) );
- aLibName += OUString::createFromAscii("proxyfac");
-#ifndef OS2
- aLibName += OUString::createFromAscii(DLL_POSTFIX);
-#endif
+ OUString aLibName(
+ RTL_CONSTASCII_USTRINGPARAM("proxyfac.uno" SAL_DLLEXTENSION) );
xImplReg->registerImplementation(
- OUString::createFromAscii("com.sun.star.loader.SharedLibrary"), aLibName, Reference< XSimpleRegistry >() );
+ OUString(
+ RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.loader.SharedLibrary") ),
+ aLibName, Reference< XSimpleRegistry >() );
- Reference< XInterface > r = xMgr->createInstance( OUString::createFromAscii("com.sun.star.reflection.ProxyFactory") );
+ Reference< XInterface > r =
+ xMgr->createInstance(
+ OUString::createFromAscii(
+ "com.sun.star.reflection.ProxyFactory") );
Reference< XProxyFactory > xProxyFac(r , UNO_QUERY );
OSL_ENSURE( xProxyFac.is(), "### no proxy factory!" );