summaryrefslogtreecommitdiff
path: root/test/source/sheet/xsheetannotation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/sheet/xsheetannotation.cxx')
-rw-r--r--test/source/sheet/xsheetannotation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/sheet/xsheetannotation.cxx b/test/source/sheet/xsheetannotation.cxx
index fd118ab44281..2755f5661a58 100644
--- a/test/source/sheet/xsheetannotation.cxx
+++ b/test/source/sheet/xsheetannotation.cxx
@@ -54,7 +54,7 @@ void XSheetAnnotation::testGetIsVisible()
uno::Reference< sheet::XSheetAnnotation > aSheetAnnotation (init(), UNO_QUERY_THROW);
bool isVisible = aSheetAnnotation->getIsVisible();
- CPPUNIT_ASSERT_MESSAGE("Wrong visible state", isVisible == true);
+ CPPUNIT_ASSERT_MESSAGE("Wrong visible state", isVisible);
}
void XSheetAnnotation::testSetIsVisible()
{
@@ -62,7 +62,7 @@ void XSheetAnnotation::testSetIsVisible()
aSheetAnnotation->setIsVisible(false);
bool isVisible = aSheetAnnotation->getIsVisible();
- CPPUNIT_ASSERT_MESSAGE("Visible state not changed", isVisible == false);
+ CPPUNIT_ASSERT_MESSAGE("Visible state not changed", !isVisible);
}
}