diff options
-rw-r--r-- | sal/qa/rtl/strings/test_oustring_stringliterals.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx index 09b55c6169b2..8d8254342334 100644 --- a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx +++ b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx @@ -181,6 +181,8 @@ void test::oustring::StringLiterals::checkBuffer() buf.insert( 3, "baz" ); CPPUNIT_ASSERT_EQUAL( rtl::OUString( "foobazbar" ), buf.toString()); char d[] = "d"; + CPPUNIT_ASSERT( !VALID_CONVERSION( buf.append( rtl::OUString( d )))); + CPPUNIT_ASSERT( !VALID_CONVERSION( buf.append( rtl::OUStringBuffer( d )))); CPPUNIT_ASSERT( !VALID_CONVERSION( buf.insert( 0, d ))); } |