diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/source/sheet/xsheetannotation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/sheet/xsheetannotation.cxx b/test/source/sheet/xsheetannotation.cxx index e59f94a224e1..fd118ab44281 100644 --- a/test/source/sheet/xsheetannotation.cxx +++ b/test/source/sheet/xsheetannotation.cxx @@ -40,14 +40,14 @@ void XSheetAnnotation::testGetAuthor() uno::Reference< sheet::XSheetAnnotation > aSheetAnnotation (init(), UNO_QUERY_THROW); OUString aAuthor = aSheetAnnotation->getAuthor(); - CPPUNIT_ASSERT_MESSAGE("Wrong author", aAuthor.equals("LG")); + CPPUNIT_ASSERT_MESSAGE("Wrong author", aAuthor == "LG"); } void XSheetAnnotation::testGetDate() { uno::Reference< sheet::XSheetAnnotation > aSheetAnnotation (init(), UNO_QUERY_THROW); OUString aDate = aSheetAnnotation->getDate(); - CPPUNIT_ASSERT_MESSAGE("Wrong date", aDate.equals("01/17/2013")); + CPPUNIT_ASSERT_MESSAGE("Wrong date", aDate == "01/17/2013"); } void XSheetAnnotation::testGetIsVisible() { |