summaryrefslogtreecommitdiff
path: root/sax/test/testcomponent.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-05-31 21:35:45 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-05-31 21:35:45 -0500
commit31cc01a5ffe32c1c7b8226d09d799ea83f6a8d30 (patch)
treef404d5ae14f35e11d9ec31e1c0a71fee8464b5a9 /sax/test/testcomponent.cxx
parent43c0c12369f379ec1c851486883a855f8f445d70 (diff)
targeted string re-work
Change-Id: Ifd6b90778725d94a9338a53a4cdc514cdb595052
Diffstat (limited to 'sax/test/testcomponent.cxx')
-rw-r--r--sax/test/testcomponent.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sax/test/testcomponent.cxx b/sax/test/testcomponent.cxx
index c3b3e0a77423..bd05ac608c31 100644
--- a/sax/test/testcomponent.cxx
+++ b/sax/test/testcomponent.cxx
@@ -70,7 +70,7 @@ int main (int argc, char **argv)
// create service manager
Reference< XMultiServiceFactory > xSMgr =
- createRegistryServiceFactory( OUString( RTL_CONSTASCII_USTRINGPARAM("applicat.rdb")) );
+ createRegistryServiceFactory( OUString( "applicat.rdb") );
Reference < XImplementationRegistration > xReg;
Reference < XSimpleRegistry > xSimpleReg;
@@ -79,7 +79,7 @@ int main (int argc, char **argv)
{
// Create registration service
Reference < XInterface > x = xSMgr->createInstance(
- OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.registry.ImplementationRegistration")) );
+ OUString("com.sun.star.registry.ImplementationRegistration") );
xReg = Reference< XImplementationRegistration > ( x , UNO_QUERY );
}
catch (const Exception&)
@@ -98,12 +98,12 @@ int main (int argc, char **argv)
#ifdef SAL_W32
OUString aDllName = OStringToOUString( argv[n] , RTL_TEXTENCODING_ASCII_US );
#else
- OUString aDllName = OUString( RTL_CONSTASCII_USTRINGPARAM("lib"));
+ OUString aDllName = OUString( "lib");
aDllName += OStringToOUString( argv[n] , RTL_TEXTENCODING_ASCII_US );
- aDllName += OUString( RTL_CONSTASCII_USTRINGPARAM(".so"));
+ aDllName += OUString( ".so");
#endif
xReg->registerImplementation(
- OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.loader.SharedLibrary")),
+ OUString("com.sun.star.loader.SharedLibrary"),
aDllName,
xSimpleReg );
}
@@ -126,13 +126,13 @@ int main (int argc, char **argv)
#ifdef SAL_W32
OUString aDllName = OStringToOUString( sTestName , RTL_TEXTENCODING_ASCII_US );
#else
- OUString aDllName = OUString( RTL_CONSTASCII_USTRINGPARAM("lib"));
+ OUString aDllName = OUString( "lib");
aDllName += OStringToOUString( sTestName , RTL_TEXTENCODING_ASCII_US );
- aDllName += OUString( RTL_CONSTASCII_USTRINGPARAM(".so"));
+ aDllName += OUString( ".so");
#endif
xReg->registerImplementation(
- OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.loader.SharedLibrary")) ,
+ OUString("com.sun.star.loader.SharedLibrary") ,
aDllName,
xSimpleReg );
}