summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-10-30 02:11:58 +0000
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 08:34:42 +0100
commitbf50220ac0ef2266dca188a4f485746b4cfb4096 (patch)
tree9a82ca68a6b54ec0df2e7c3844b22ebcc8e1b4cf /test
parent1ecdddcc32ce2b003fca43ac2c5ef0668afef8dd (diff)
Fix xsheetfilterable CppUnit assert
Change to Logical NOT operator to make clang loplugin:simplifybool happy. Change-Id: I95af212ea6fa33be2775824322bd64f04d2ac695 Reviewed-on: https://gerrit.libreoffice.org/44039 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/source/sheet/xsheetfilterable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xsheetfilterable.cxx b/test/source/sheet/xsheetfilterable.cxx
index 8539a4315bd5..369045aea858 100644
--- a/test/source/sheet/xsheetfilterable.cxx
+++ b/test/source/sheet/xsheetfilterable.cxx
@@ -80,7 +80,7 @@ void XSheetFilterable::testFilter()
bool bIsVisible = true;
CPPUNIT_ASSERT(xRowProps->getPropertyValue("IsVisible") >>= bIsVisible);
- CPPUNIT_ASSERT_MESSAGE("Row 1 should be invisible", bIsVisible == false);
+ CPPUNIT_ASSERT_MESSAGE("Row 1 should be invisible", !bIsVisible);
}
}