loplugin:salbool: Automatic rewrite of sal_False/True

Change-Id: Icfa6686ee96e4c9ddf23abc3ece6beae6521473a
This commit is contained in:
Stephan Bergmann
2016-04-20 17:17:25 +02:00
parent ed467869d8
commit 07b4791dc8

View File

@@ -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;
}