summaryrefslogtreecommitdiffstats
path: root/sal
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-19 14:16:55 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-19 14:18:10 +0100
commit5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb (patch)
treef891d796fa21c5bfb941eaa4a3f0c05a7e179cc6 /sal
parentodk: do not pack unused component.map file (diff)
downloadcore-5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb.tar.gz
core-5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb.zip
further OUString cleanup
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx7
-rw-r--r--sal/qa/rtl_strings/rtl_old_teststrbuf.cxx4
2 files changed, 5 insertions, 6 deletions
diff --git a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
index 0cab17f5b546..b7b164043564 100644
--- a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
+++ b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
@@ -112,7 +112,7 @@ inline rtl::OUString t_getSourcePath(rtl::OString const& _sFilename)
{
rtl::OUString aDirURL(getExecutableDirectory());
- aDirURL += OUString("/");
+ aDirURL += "/";
aDirURL += OUString::createFromAscii( _sFilename.getStr() );
#if defined(WNT)
aDirURL += rtl::OUString(".ini");
@@ -577,8 +577,7 @@ namespace rtl_Bootstrap
rtl::OUString suMacro("${"); //rtlrc:Bootstrap:RTLVALUE}");
rtl::OUString aDirURL("$ORIGIN");
- aDirURL += OUString("/");
- aDirURL += OUString("rtl");
+ aDirURL += "/rtl";
#if defined(WNT)
aDirURL += rtl::OUString(".ini");
#else
@@ -748,7 +747,7 @@ namespace rtl_Bootstrap
rtl::OUString suName("INHERITED_VALUE");
OUString suGetValue;
Bootstrap::get( suName, suGetValue );
- suGetValue += OUString("/well");
+ suGetValue += "/well";
CPPUNIT_ASSERT_MESSAGE("expandMacros failed.", suGetValue.compareTo(suMacro) == 0 );
}
diff --git a/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx b/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx
index ed25a62b9d96..15a0851e6c8a 100644
--- a/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx
+++ b/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx
@@ -164,7 +164,7 @@ void oldtests::test_OUStringBuffer()
TEST_ENSURE( s1 == b2.getStr(), "test_OWStringBuffer error 4");
sal_Int32 n = 123456789L;
- s1 += OUString(" 123456789");
+ s1 += " 123456789";
b2.append(OUString(" "));
b2.append(n);
TEST_ENSURE( s1 == b2.getStr(), "test_OWStringBuffer error 5");
@@ -174,7 +174,7 @@ void oldtests::test_OUStringBuffer()
#else
sal_Int64 m = -3223372036854775807;
#endif
- s1 += OUString(" -3223372036854775807");
+ s1 += " -3223372036854775807";
b2.append(OUString(" "));
b2.append(m);
TEST_ENSURE( s1 == b2.getStr(), "test_OWStringBuffer error 6");