[Libreoffice-commits] core.git: sc/qa

Stephan Bergmann sbergman at redhat.com
Mon Jun 6 12:31:09 UTC 2016


 sc/qa/unit/copy_paste_test.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9321b5288d2263247b0c089151a31aeba8e1a0d3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 6 14:30:47 2016 +0200

    loplugin:simplifybool
    
    Change-Id: I38d30d086bfd819eab806696aa4c9ad830667113

diff --git a/sc/qa/unit/copy_paste_test.cxx b/sc/qa/unit/copy_paste_test.cxx
index 0e9addf..8f7b959 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() );
 


More information about the Libreoffice-commits mailing list