summaryrefslogtreecommitdiff
path: root/sal/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:18:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:48 +0200
commitabe81a0b7b5014aefec1ede55cc6b7b947c47484 (patch)
tree769331fe1b6fbdee41dff85b8259e5d275ab5dc2 /sal/qa
parentb8f04b740fe3e61269daeccbbb9bc5752e5fd5b3 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I6c656f991999791469015500aff1905fdb16ba65
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/osl/file/osl_File.cxx8
-rw-r--r--sal/qa/osl/module/osl_Module_DLL.cxx2
-rw-r--r--sal/qa/rtl/uuid/rtl_Uuid.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index 1efaf0444f28..26501d9a2c6d 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -2578,7 +2578,7 @@ namespace osl_File
void isEndOfFile_001()
{
::osl::File testFile( aTmpName4 );
- sal_Bool bEOF = sal_False;
+ sal_Bool bEOF = false;
sal_Bool *pEOF = &bEOF;
nError1 = testFile.open( osl_File_OpenFlag_Read | osl_File_OpenFlag_Write );
@@ -2599,7 +2599,7 @@ namespace osl_File
void isEndOfFile_002()
{
::osl::File testFile( aTmpName4 );
- sal_Bool bEOF = sal_False;
+ sal_Bool bEOF = false;
sal_Bool *pEOF = &bEOF;
sal_uInt64 nFilePointer = 0;
@@ -2608,7 +2608,7 @@ namespace osl_File
nError1 = testFile.setPos( osl_Pos_Absolut, 0 );
CPPUNIT_ASSERT( ::osl::FileBase::E_None == nError1 );
- *pEOF = sal_False;
+ *pEOF = false;
while ( !( *pEOF ) )
{
nError1 = testFile.isEndOfFile( pEOF );
@@ -2952,7 +2952,7 @@ namespace osl_File
void readLine_002()
{
::osl::File testFile( aTmpName6 );
- sal_Bool bEOF = sal_False;
+ sal_Bool bEOF = false;
sal_Bool *pEOF = &bEOF;
nError1 = testFile.open( osl_File_OpenFlag_Read | osl_File_OpenFlag_Write );
diff --git a/sal/qa/osl/module/osl_Module_DLL.cxx b/sal/qa/osl/module/osl_Module_DLL.cxx
index ef1a87c9a029..1e9e33868d63 100644
--- a/sal/qa/osl/module/osl_Module_DLL.cxx
+++ b/sal/qa/osl/module/osl_Module_DLL.cxx
@@ -29,7 +29,7 @@ CPPUNIT_PLUGIN_IMPLEMENT();
extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool )
{
- return sal_True;
+ return true;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/rtl/uuid/rtl_Uuid.cxx b/sal/qa/rtl/uuid/rtl_Uuid.cxx
index 2ceef782385b..714d4b27555a 100644
--- a/sal/qa/rtl/uuid/rtl_Uuid.cxx
+++ b/sal/qa/rtl/uuid/rtl_Uuid.cxx
@@ -48,7 +48,7 @@ public:
sal_Int32 i,i2;
for( i = 0 ; i < TEST_UUID ; i ++ )
{
- rtl_createUuid( aNode[i], nullptr, sal_False );
+ rtl_createUuid( aNode[i], nullptr, false );
}
bool bRes = true;
for( i = 0 ; i < TEST_UUID ; i ++ )