diff options
Diffstat (limited to 'comphelper/qa/string')
-rw-r--r-- | comphelper/qa/string/test_string.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/qa/string/test_string.cxx b/comphelper/qa/string/test_string.cxx index 5e9f23ffb087..6100a777f63a 100644 --- a/comphelper/qa/string/test_string.cxx +++ b/comphelper/qa/string/test_string.cxx @@ -405,7 +405,7 @@ void TestString::testEqualsString() CPPUNIT_ASSERT(!::comphelper::string::equals(aIn, 'B')); aIn = OString("AA"); CPPUNIT_ASSERT(!::comphelper::string::equals(aIn, 'A')); - aIn = OString(); + aIn.clear(); CPPUNIT_ASSERT(!::comphelper::string::equals(aIn, 'A')); } |