diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-01-12 08:35:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-01-12 10:59:03 +0000 |
commit | 6c5c33a8279c2281cd5008b25d966aee98aaf021 (patch) | |
tree | ae387c3a235c38bc955f34e0e14149a208b9ffc9 /sw | |
parent | 5e0caf8972a2855d0458931233a00783cfb0f3f1 (diff) |
loplugin:fakebool (clang-cl)
Change-Id: I8b1aa39ef008e1865e3fd529a49b10b95db1f046
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145383
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/odfimport/odfimport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx index c42f2661a2e4..4843a2ea591f 100644 --- a/sw/qa/extras/odfimport/odfimport.cxx +++ b/sw/qa/extras/odfimport/odfimport.cxx @@ -1381,7 +1381,7 @@ CPPUNIT_TEST_FIXTURE(Test, testForcepoint108) template <class T> static void runWindowsFileZoneTests(css::uno::Reference<css::frame::XDesktop2> aDesktop, const OUString& sFileName, sal_Int32 configValue, sal_Int32 zoneId, - sal_Bool expectedResult) + bool expectedResult) { // Set desired configuration params auto xChanges = comphelper::ConfigurationChanges::create(); @@ -1415,7 +1415,7 @@ static void runWindowsFileZoneTests(css::uno::Reference<css::frame::XDesktop2> a // Are macro enabled in doc? SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(aComponent.get()); - CPPUNIT_ASSERT_EQUAL(expectedResult, pTextDoc->getAllowMacroExecution()); + CPPUNIT_ASSERT_EQUAL(expectedResult, bool(pTextDoc->getAllowMacroExecution())); aComponent->dispose(); } |