summaryrefslogtreecommitdiff
path: root/comphelper/qa/string/test_string.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/qa/string/test_string.cxx')
-rw-r--r--comphelper/qa/string/test_string.cxx2
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'));
}