diff options
Diffstat (limited to 'sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.cxx')
-rw-r--r-- | sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.cxx b/sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.cxx index 3c3f436ee5c0..2ddc5aefe253 100644 --- a/sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.cxx +++ b/sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.cxx @@ -27,15 +27,15 @@ private: void test() { OUStringBuffer b1; - OUString s1("123456789012345"); + OUString s1(u"123456789012345"_ustr); b1 = s1; CPPUNIT_ASSERT_EQUAL(s1, b1.toString()); CPPUNIT_ASSERT_EQUAL(sal_Int32(16), b1.getCapacity()); - OUString s2("abc"); + OUString s2(u"abc"_ustr); b1 = s2; CPPUNIT_ASSERT_EQUAL(s2, b1.toString()); CPPUNIT_ASSERT_EQUAL(sal_Int32(16), b1.getCapacity()); - OUString s3("1234567890123456"); + OUString s3(u"1234567890123456"_ustr); b1 = s3; CPPUNIT_ASSERT_EQUAL(s3, b1.toString()); CPPUNIT_ASSERT_EQUAL(sal_Int32(32), b1.getCapacity()); |