summaryrefslogtreecommitdiff
path: root/test/source/sheet/xdatabaserange.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:29:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:31:02 +0200
commitc8509a027f2caea5e4aed16a7145d0b31bb93145 (patch)
treece7066591fb6e55ee8db1a13efb8485e2b3a7fca /test/source/sheet/xdatabaserange.cxx
parenta390d178b0440f5ecc151427c9d05f52c54e8c45 (diff)
More loplugin:simplifybool
Change-Id: I020627f1747bfa31e60d79954cdb9c8fe0a4e5f2
Diffstat (limited to 'test/source/sheet/xdatabaserange.cxx')
-rw-r--r--test/source/sheet/xdatabaserange.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/sheet/xdatabaserange.cxx b/test/source/sheet/xdatabaserange.cxx
index 4bd0d27d61a0..8c30ed8789d2 100644
--- a/test/source/sheet/xdatabaserange.cxx
+++ b/test/source/sheet/xdatabaserange.cxx
@@ -104,7 +104,7 @@ void XDatabaseRange::testGetSortDescriptor()
{
bool bCopyOutputData = true;
xProp.Value >>= bCopyOutputData;
- CPPUNIT_ASSERT(bCopyOutputData == false);
+ CPPUNIT_ASSERT(!bCopyOutputData);
}
else if (xProp.Name == "OutputPosition")
{
@@ -114,7 +114,7 @@ void XDatabaseRange::testGetSortDescriptor()
{
bool bIsUserListEnabled = true;
xProp.Value >>= bIsUserListEnabled;
- CPPUNIT_ASSERT(bIsUserListEnabled == false);
+ CPPUNIT_ASSERT(!bIsUserListEnabled);
}
else if (xProp.Name == "UserListIndex")