summaryrefslogtreecommitdiff
path: root/package/source/zipapi/ZipOutputStream.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-17 13:40:46 +0200
committerNoel Grandin <noel@peralex.com>2014-04-22 09:53:14 +0200
commit5df6dcf747a36989a3891c855737fe9bdb206a36 (patch)
treecb6ab57cf4f275860df7be2ec16a2fbd45f2692d /package/source/zipapi/ZipOutputStream.cxx
parente4107bb8b7230c039e7fc76951bfb3634fe4b9e0 (diff)
package: sal_Bool->bool
Change-Id: I05dd5070d0618ef7539b26c7edcaf01b0a84732c
Diffstat (limited to 'package/source/zipapi/ZipOutputStream.cxx')
-rw-r--r--package/source/zipapi/ZipOutputStream.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/source/zipapi/ZipOutputStream.cxx b/package/source/zipapi/ZipOutputStream.cxx
index 3fa41e4973b6..137bec9cfdb6 100644
--- a/package/source/zipapi/ZipOutputStream.cxx
+++ b/package/source/zipapi/ZipOutputStream.cxx
@@ -50,8 +50,8 @@ ZipOutputStream::ZipOutputStream( const uno::Reference< uno::XComponentContext >
, nMethod(DEFLATED)
, nLevel(0)
, mnDigested(0)
-, bFinished(sal_False)
-, bEncryptCurrentEntry(sal_False)
+, bFinished(false)
+, bEncryptCurrentEntry(false)
, m_pCurrentStream(NULL)
{
}
@@ -75,7 +75,7 @@ void SAL_CALL ZipOutputStream::setLevel( sal_Int32 nNewLevel )
void SAL_CALL ZipOutputStream::putNextEntry( ZipEntry& rEntry,
ZipPackageStream* pStream,
- sal_Bool bEncrypt)
+ bool bEncrypt)
throw(IOException, RuntimeException)
{
if (pCurrentEntry != NULL)
@@ -95,7 +95,7 @@ void SAL_CALL ZipOutputStream::putNextEntry( ZipEntry& rEntry,
if (bEncrypt)
{
- bEncryptCurrentEntry = sal_True;
+ bEncryptCurrentEntry = true;
m_xCipherContext = ZipFile::StaticGetCipher( m_xContext, pStream->GetEncryptionData(), true );
m_xDigestContext = ZipFile::StaticGetDigestContextForChecksum( m_xContext, pStream->GetEncryptionData() );
@@ -162,7 +162,7 @@ void SAL_CALL ZipOutputStream::closeEntry( )
if (bEncryptCurrentEntry)
{
- bEncryptCurrentEntry = sal_False;
+ bEncryptCurrentEntry = false;
m_xCipherContext.clear();
@@ -236,7 +236,7 @@ void SAL_CALL ZipOutputStream::finish( )
for (sal_Int32 i =0, nEnd = aZipList.size(); i < nEnd; i++)
writeCEN( *aZipList[i] );
writeEND( nOffset, static_cast < sal_Int32 > (aChucker.GetPosition()) - nOffset);
- bFinished = sal_True;
+ bFinished = true;
xStream->flush();
}