summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-19 14:05:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-19 14:05:37 +0100
commit81a2fc786728205b0a869b38a95fc889662b08a6 (patch)
tree985bc97f09f52070fabae678f6cffaadca1b256c /sot
parentc98658118554c237e6d7a3440eff9d3038694154 (diff)
sot: sal_Bool -> bool fixup
Change-Id: I53777b6f72f5ff60228e40e9ec2a0e909e059fcf
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx4
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 9d3e66ab648c..47158aff3805 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -2156,7 +2156,7 @@ sal_Int16 UCBStorage_Impl::Commit()
// first remove all open stream handles
if( !pElement->m_xStream.Is() || pElement->m_xStream->Clear() )
{
- pContent->executeCommand( OUString("delete"), makeAny( sal_Bool( sal_True ) ) );
+ pContent->executeCommand( OUString("delete"), makeAny( true ) );
nRet = COMMIT_RESULT_SUCCESS;
}
else
@@ -2189,7 +2189,7 @@ sal_Int16 UCBStorage_Impl::Commit()
// OLE storage should be stored encrytped, if the storage uses encryption
pElement->m_xStream->m_aContentType = "application/vnd.sun.star.oleobject";
Any aValue;
- aValue <<= (sal_Bool)sal_True;
+ aValue <<= true;
pElement->m_xStream->m_pContent->setPropertyValue("Encrypted", aValue );
}
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx
index 3fe6aa5f91ed..1de814e0bcac 100644
--- a/sot/source/unoolestorage/xolesimplestorage.cxx
+++ b/sot/source/unoolestorage/xolesimplestorage.cxx
@@ -476,7 +476,7 @@ uno::Any SAL_CALL OLESimpleStorage::getByName( const OUString& aName )
uno::Sequence< uno::Any > aArgs( 2 );
aArgs[0] <<= xInputStream; // allow readonly access only
- aArgs[1] <<= (sal_Bool)sal_True; // do not create copy
+ aArgs[1] <<= true; // do not create copy
uno::Reference< container::XNameContainer > xResultNameContainer(
m_xFactory->createInstanceWithArguments(