sw/qa/extras/odfimport/odfimport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6c5c33a8279c2281cd5008b25d966aee98aaf021
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Jan 12 08:35:32 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Jan 12 10:59:03 2023 +0000

    loplugin:fakebool (clang-cl)
    
    Change-Id: I8b1aa39ef008e1865e3fd529a49b10b95db1f046
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145383
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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();
 }

Reply via email to