diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:17:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:25:42 +0200 |
commit | 07b4791dc8d0a8b1144f6c619b7aa6f7af8bb5de (patch) | |
tree | e688ce7c01689e237efeae3e489163dd3f9574e8 /hwpfilter | |
parent | loplugin:salbool: Automatic rewrite of sal_False/True (diff) | |
download | core-07b4791dc8d0a8b1144f6c619b7aa6f7af8bb5de.tar.gz core-07b4791dc8d0a8b1144f6c619b7aa6f7af8bb5de.zip |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Icfa6686ee96e4c9ddf23abc3ece6beae6521473a
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index e27c4ca0bf14..8f63eed4ea4f 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -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; } |