Kaydet (Commit) bf50220a authored tarafından Jens Carl's avatar Jens Carl Kaydeden (comit) Noel Grandin

Fix xsheetfilterable CppUnit assert

Change to Logical NOT operator to make
clang loplugin:simplifybool happy.

Change-Id: I95af212ea6fa33be2775824322bd64f04d2ac695
Reviewed-on: https://gerrit.libreoffice.org/44039Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 1ecdddcc
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment