Kaydet (Commit) 9321b528 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:simplifybool

Change-Id: I38d30d086bfd819eab806696aa4c9ad830667113
üst f4608bde
...@@ -208,7 +208,7 @@ void ScCopyPasteTest::testTdf84411() ...@@ -208,7 +208,7 @@ void ScCopyPasteTest::testTdf84411()
CPPUNIT_ASSERT(pModel != nullptr); CPPUNIT_ASSERT(pModel != nullptr);
bool bOpenCLState = ScCalcConfig::isOpenCLEnabled(); bool bOpenCLState = ScCalcConfig::isOpenCLEnabled();
pModel->enableOpenCL(false); pModel->enableOpenCL(false);
CPPUNIT_ASSERT(ScCalcConfig::isOpenCLEnabled() == false); CPPUNIT_ASSERT(!ScCalcConfig::isOpenCLEnabled());
pModel->enableAutomaticCalculation(true); pModel->enableAutomaticCalculation(true);
CPPUNIT_ASSERT( ScCalcConfig::isSwInterpreterEnabled() ); CPPUNIT_ASSERT( ScCalcConfig::isSwInterpreterEnabled() );
......
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