summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-06 14:30:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-06 14:30:47 +0200
commit9321b5288d2263247b0c089151a31aeba8e1a0d3 (patch)
tree6305a5c412dcb52f25a57460f26887eb8dbf4fcd /sc
parentf4608bde584f9606781d12065a12e3683d6ea101 (diff)
loplugin:simplifybool
Change-Id: I38d30d086bfd819eab806696aa4c9ad830667113
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/copy_paste_test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/copy_paste_test.cxx b/sc/qa/unit/copy_paste_test.cxx
index 0e9addf56a7c..8f7b95934485 100644
--- a/sc/qa/unit/copy_paste_test.cxx
+++ b/sc/qa/unit/copy_paste_test.cxx
@@ -208,7 +208,7 @@ void ScCopyPasteTest::testTdf84411()
CPPUNIT_ASSERT(pModel != nullptr);
bool bOpenCLState = ScCalcConfig::isOpenCLEnabled();
pModel->enableOpenCL(false);
- CPPUNIT_ASSERT(ScCalcConfig::isOpenCLEnabled() == false);
+ CPPUNIT_ASSERT(!ScCalcConfig::isOpenCLEnabled());
pModel->enableAutomaticCalculation(true);
CPPUNIT_ASSERT( ScCalcConfig::isSwInterpreterEnabled() );