loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Icfa6686ee96e4c9ddf23abc3ece6beae6521473a
This commit is contained in:
@@ -159,10 +159,10 @@ sal_Bool HwpReader::filter(const Sequence< PropertyValue >& rDescriptor) throw(R
|
||||
nTotal += nRead;
|
||||
}
|
||||
|
||||
if( nTotal == 0 ) return sal_False;
|
||||
if( nTotal == 0 ) return false;
|
||||
|
||||
if (hwpfile.ReadHwpFile(stream.release()))
|
||||
return sal_False;
|
||||
return false;
|
||||
|
||||
if (m_rxDocumentHandler.is())
|
||||
m_rxDocumentHandler->startDocument();
|
||||
@@ -200,7 +200,7 @@ sal_Bool HwpReader::filter(const Sequence< PropertyValue >& rDescriptor) throw(R
|
||||
|
||||
if (m_rxDocumentHandler.is())
|
||||
m_rxDocumentHandler->endDocument();
|
||||
return sal_True;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user