diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 16:12:08 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 16:48:34 -0500 |
commit | acb7bd175abe6c7f793cc673feaab46c90b9a260 (patch) | |
tree | 206be73ecd4a2af07310e8efe348f9647382d331 /sal/qa/rtl/bootstrap | |
parent | d29d9399d48f85989cc8040f5ba334c38b40a544 (diff) |
targeted string re-work
Change-Id: I145731d9f28faf0065f5960f2c5a32f27d8c8620
Diffstat (limited to 'sal/qa/rtl/bootstrap')
-rw-r--r-- | sal/qa/rtl/bootstrap/bootstrap_process.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sal/qa/rtl/bootstrap/bootstrap_process.cxx b/sal/qa/rtl/bootstrap/bootstrap_process.cxx index 6455073224b5..3b989a474b85 100644 --- a/sal/qa/rtl/bootstrap/bootstrap_process.cxx +++ b/sal/qa/rtl/bootstrap/bootstrap_process.cxx @@ -43,14 +43,14 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) //custom .ini/rc file Bootstrap aBs_custom( OUString::createFromAscii(argv[3]) ); OUString suValue; - OUString suDefault( RTL_CONSTASCII_USTRINGPARAM("mydefault") ); + OUString suDefault( "mydefault" ); int flag = atoi( argv[1] ); switch( flag ) { case 1: // parameters may be passed by command line arguments aBootstrap.getFrom( - OUString(RTL_CONSTASCII_USTRINGPARAM("UNO_SERVICES")), + OUString("UNO_SERVICES"), suValue ); if ( suValue == "service.rdb" ) { @@ -61,7 +61,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) case 2: // parameters may be passed by ini file aBootstrap.getFrom( - OUString(RTL_CONSTASCII_USTRINGPARAM("EXECUTABLE_RC")), + OUString("EXECUTABLE_RC"), suValue ); if ( suValue == "true" ) { @@ -72,7 +72,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) case 3: // parameters may be passed by command line arguments aBootstrap.getFrom( - OUString(RTL_CONSTASCII_USTRINGPARAM("QADEV_BOOTSTRAP")), + OUString("QADEV_BOOTSTRAP"), suValue ); if ( suValue == "sun&ms" ) { @@ -83,7 +83,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) case 4: // parameters may be passed by custom .ini/rc file aBs_custom.getFrom( - OUString(RTL_CONSTASCII_USTRINGPARAM("RTLVALUE")), + OUString("RTLVALUE"), suValue ); if ( suValue == "qadev17" ) { @@ -94,7 +94,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) case 5: // parameters may be passed by inheritance aBs_custom.getFrom( - OUString(RTL_CONSTASCII_USTRINGPARAM("EXECUTABLE_RC")), + OUString("EXECUTABLE_RC"), suValue ); if ( suValue == "true" ) { @@ -105,7 +105,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) default: // parameters may be passed by inheritance aBs_custom.getFrom( - OUString(RTL_CONSTASCII_USTRINGPARAM("ABCDE")), + OUString("ABCDE"), suValue, suDefault ); if ( suValue == "mydefault" ) { |