summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/process_impl.cxx2
-rw-r--r--sal/qa/rtl/math/test-rtl-math.cxx8
-rw-r--r--sal/rtl/bootstrap.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/sal/osl/unx/process_impl.cxx b/sal/osl/unx/process_impl.cxx
index 6d1694d5c85a..dab4d9942433 100644
--- a/sal/osl/unx/process_impl.cxx
+++ b/sal/osl/unx/process_impl.cxx
@@ -241,7 +241,7 @@ void SAL_CALL osl_setCommandArgs (int argc, char ** argv)
{
#if !defined(ANDROID) && !defined(IOS) // No use searching PATH on Android or iOS
/* see @ osl_getExecutableFile(). */
- if (rtl_ustr_indexOfChar (rtl_uString_getStr(ppArgs[0]), sal_Unicode('/')) == -1)
+ if (rtl_ustr_indexOfChar (rtl_uString_getStr(ppArgs[0]), '/') == -1)
{
const rtl::OUString PATH ("PATH");
diff --git a/sal/qa/rtl/math/test-rtl-math.cxx b/sal/qa/rtl/math/test-rtl-math.cxx
index c0ccaaae5225..13b936e844a4 100644
--- a/sal/qa/rtl/math/test-rtl-math.cxx
+++ b/sal/qa/rtl/math/test-rtl-math.cxx
@@ -55,7 +55,7 @@ public:
sal_Int32 end;
double res = rtl::math::stringToDouble(
rtl::OUString(" +1.E01foo"),
- sal_Unicode('.'), sal_Unicode(','), &status, &end);
+ '.', ',', &status, &end);
CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_Ok, status);
CPPUNIT_ASSERT_EQUAL(sal_Int32(RTL_CONSTASCII_LENGTH(" +1.E01")), end);
CPPUNIT_ASSERT_EQUAL(10.0, res);
@@ -66,7 +66,7 @@ public:
sal_Int32 end;
double res = rtl::math::stringToDouble(
rtl::OUString(" +Efoo"),
- sal_Unicode('.'), sal_Unicode(','), &status, &end);
+ '.', ',', &status, &end);
CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_Ok, status);
CPPUNIT_ASSERT_EQUAL(sal_Int32(0), end);
CPPUNIT_ASSERT_EQUAL(0.0, res);
@@ -77,13 +77,13 @@ public:
sal_Int32 end;
double res = rtl::math::stringToDouble(
rtl::OUString("1e"),
- sal_Unicode('.'), sal_Unicode(','), &status, &end);
+ '.', ',', &status, &end);
CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_Ok, status);
CPPUNIT_ASSERT_EQUAL(sal_Int32(RTL_CONSTASCII_LENGTH("1")), end);
CPPUNIT_ASSERT_EQUAL(1.0, res);
res = rtl::math::stringToDouble(
rtl::OUString("0e"),
- sal_Unicode('.'), sal_Unicode(','), &status, &end);
+ '.', ',', &status, &end);
CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_Ok, status);
CPPUNIT_ASSERT_EQUAL(sal_Int32(RTL_CONSTASCII_LENGTH("1")), end);
CPPUNIT_ASSERT_EQUAL(0.0, res);
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx
index a4169b3b66b9..3826a2b6fdda 100644
--- a/sal/rtl/bootstrap.cxx
+++ b/sal/rtl/bootstrap.cxx
@@ -889,7 +889,7 @@ void rtl_bootstrap_encode( rtl_uString const * value, rtl_uString ** encoded )
for (sal_Int32 i = 0; i < value->length; ++i) {
sal_Unicode c = value->buffer[i];
if (c == '$' || c == '\\') {
- b.append(sal_Unicode('\\'));
+ b.append('\\');
}
b.append(c);
}