summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-17 15:47:00 +0200
committerNoel Grandin <noel@peralex.com>2014-04-22 09:56:06 +0200
commitd83dfeb5e59c8f3de12d673b001a44001f644e7d (patch)
tree3c4f08c12d9bd83192d3c58971e95ca04ba0303a /package
parent5df6dcf747a36989a3891c855737fe9bdb206a36 (diff)
filter: sal_Bool->bool
Change-Id: Icf20f23cb46ad3cb147d8c6a743f1d25a23fbca5
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/owriteablestream.cxx8
1 files changed, 4 insertions, 4 deletions
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 )
{