diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 13:13:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 10:29:30 +0200 |
commit | 2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (patch) | |
tree | fb31b64880b06b0e2bd867aa6216ae0259c7c091 /extensions | |
parent | ccc297097891e62489e5d281a4ea128ec6b71361 (diff) |
remove most use of RTL_CONSTASCII_USTRINGPARAM macro
This is largely unnecessary when working with OUString
Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/test/ole/unloading/unloadTest.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/extensions/test/ole/unloading/unloadTest.cxx b/extensions/test/ole/unloading/unloadTest.cxx index a81244113d5d..23b4e0dacd5f 100644 --- a/extensions/test/ole/unloading/unloadTest.cxx +++ b/extensions/test/ole/unloading/unloadTest.cxx @@ -69,8 +69,7 @@ sal_Bool test1() OUString sService1("com.sun.star.bridge.oleautomation.BridgeSupplier"); Reference<XInterface> xint1= fac->createInstanceWithContext( sService1, context); - OUString sModule( - RTL_CONSTASCII_USTRINGPARAM("oleautobridge.uno" SAL_DLLEXTENSION)); + OUString sModule("oleautobridge.uno" SAL_DLLEXTENSION); oslModule hMod= osl_loadModule( sModule.pData, 0); osl_unloadModule( hMod); @@ -104,8 +103,7 @@ sal_Bool test2() OUString sService2("com.sun.star.bridge.OleBridgeSupplierVar1"); Reference<XInterface> xint= fac->createInstanceWithContext( sService2, context); - OUString sModule( - RTL_CONSTASCII_USTRINGPARAM("oleautobridge.uno" SAL_DLLEXTENSION)); + OUString sModule("oleautobridge.uno" SAL_DLLEXTENSION); oslModule hMod= osl_loadModule( sModule.pData, 0); osl_unloadModule( hMod); @@ -139,8 +137,7 @@ sal_Bool test3() Reference<XInterface> xint= fac->createInstanceWithContext( sService, context); - OUString sModule( - RTL_CONSTASCII_USTRINGPARAM("oleautobridge.uno" SAL_DLLEXTENSION)); + OUString sModule("oleautobridge.uno" SAL_DLLEXTENSION); oslModule hMod= osl_loadModule( sModule.pData, 0); osl_unloadModule( hMod); @@ -167,8 +164,7 @@ sal_Bool test4() sal_Bool bTest1= sal_False; sal_Bool bTest2= sal_False; oslModule hMod= NULL; - OUString sModule( - RTL_CONSTASCII_USTRINGPARAM("oleautobridge.uno" SAL_DLLEXTENSION)); + OUString sModule("oleautobridge.uno" SAL_DLLEXTENSION); OUString sFactoryFunc("component_getFactory"); { printf("Test4: com.sun.star.bridge.oleautomation.ApplicationRegistration\n"); |