From d83dfeb5e59c8f3de12d673b001a44001f644e7d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Apr 2014 15:47:00 +0200 Subject: filter: sal_Bool->bool Change-Id: Icf20f23cb46ad3cb147d8c6a743f1d25a23fbca5 --- package/source/xstor/owriteablestream.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package') diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index c4b49cb22cd3..866e1b2f34fd 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -428,7 +428,7 @@ void OWriteStream_Impl::SetDecrypted() for ( sal_Int32 nInd = 0; nInd < m_aProps.getLength(); nInd++ ) { if ( m_aProps[nInd].Name == "Encrypted" ) - m_aProps[nInd].Value <<= sal_False; + m_aProps[nInd].Value <<= false; } } @@ -451,7 +451,7 @@ void OWriteStream_Impl::SetEncrypted( const ::comphelper::SequenceAsHashMap& aEn for ( sal_Int32 nInd = 0; nInd < m_aProps.getLength(); nInd++ ) { if ( m_aProps[nInd].Name == "Encrypted" ) - m_aProps[nInd].Value <<= sal_True; + m_aProps[nInd].Value <<= true; } m_bUseCommonEncryption = false; // very important to set it to false @@ -773,7 +773,7 @@ void OWriteStream_Impl::InsertStreamDirectly( const uno::Reference< io::XInputSt // set to be encrypted but do not use encryption key xPropertySet->setPropertyValue( STORAGE_ENCRYPTION_KEYS_PROPERTY, uno::makeAny( uno::Sequence< beans::NamedValue >() ) ); - xPropertySet->setPropertyValue( "Encrypted", uno::makeAny( sal_True ) ); + xPropertySet->setPropertyValue( "Encrypted", uno::makeAny( true ) ); } // the stream should be free soon, after package is stored @@ -871,7 +871,7 @@ void OWriteStream_Impl::Commit() xPropertySet->setPropertyValue( STORAGE_ENCRYPTION_KEYS_PROPERTY, uno::makeAny( uno::Sequence< beans::NamedValue >() ) ); xPropertySet->setPropertyValue( "Encrypted", - uno::makeAny( sal_True ) ); + uno::makeAny( true ) ); } else if ( m_bHasCachedEncryptionData ) { -- cgit