diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-19 21:29:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-19 21:29:43 +0200 |
commit | 82da3d95c1bb2ba410a89fc1721b1ccb4f25b7cb (patch) | |
tree | 87a34da45d7048338a097c8a578354ba326c24d8 /sal/qa/osl | |
parent | c3a5012c5a9699040698505d3e34672382c026b8 (diff) |
loplugin:salbool: Implicit conversions from non-Boolean fundamental types
Change-Id: I67eac95686678e6f5a2d60798535b2c65a9ba5d7
Diffstat (limited to 'sal/qa/osl')
-rw-r--r-- | sal/qa/osl/profile/osl_old_testprofile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/osl/profile/osl_old_testprofile.cxx b/sal/qa/osl/profile/osl_old_testprofile.cxx index 5389c0cdb100..903851b3ec8d 100644 --- a/sal/qa/osl/profile/osl_old_testprofile.cxx +++ b/sal/qa/osl/profile/osl_old_testprofile.cxx @@ -48,7 +48,7 @@ void oldtests::test_profile() CPPUNIT_ASSERT(hProfile != nullptr); CPPUNIT_ASSERT_MESSAGE( "cannot write into init file", - osl_writeProfileBool( hProfile, "testsection", "testbool", 1 )); + osl_writeProfileBool( hProfile, "testsection", "testbool", true )); CPPUNIT_ASSERT(osl_closeProfile( hProfile )); // unsuccessful open |