summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx2
-rw-r--r--sal/qa/rtl/uri/rtl_testuri.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
index f3cf9de7328b..f80777b9dc80 100644
--- a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
+++ b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
@@ -698,7 +698,7 @@ namespace rtl_Bootstrap
rtl::OUString p(t_getSourcePath(TESTSHL2_INI));
for (sal_Int32 i = 0; i < p.getLength(); ++i) {
if (p[i] != 'u') {
- b.append(static_cast< sal_Unicode >('\\'));
+ b.append('\\');
}
b.append(p[i]);
}
diff --git a/sal/qa/rtl/uri/rtl_testuri.cxx b/sal/qa/rtl/uri/rtl_testuri.cxx
index ad660993fc22..63a53b10922e 100644
--- a/sal/qa/rtl/uri/rtl_testuri.cxx
+++ b/sal/qa/rtl/uri/rtl_testuri.cxx
@@ -201,7 +201,7 @@ void Test::test_Uri() {
aBuffer.append(static_cast< sal_Unicode >(0xD800)); // %F0%90%8F%BF
aBuffer.append(static_cast< sal_Unicode >(0xDFFF));
aBuffer.append(static_cast< sal_Unicode >(0xDFFF)); // %ED%BF%BF
- aBuffer.append(static_cast< sal_Unicode >('A')); // A
+ aBuffer.append('A'); // A
aText1 = aBuffer.makeStringAndClear();
aText2 = rtl::OUString(
"%ED%A0%80" "%F0%90%8F%BF" "%ED%BF%BF" "A");
@@ -230,7 +230,7 @@ void Test::test_Uri() {
aBuffer.append(static_cast< sal_Unicode >(0xD800));
aBuffer.append(static_cast< sal_Unicode >(0xDFFF));
aBuffer.append("%ED%BF%BF");
- aBuffer.append(static_cast< sal_Unicode >('A'));
+ aBuffer.append('A');
aText2 = aBuffer.makeStringAndClear();
CPPUNIT_ASSERT_MESSAGE(
"failure 14",