summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/ucbstorage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/ucbstorage.cxx')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx4
1 files changed, 2 insertions, 2 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 );
}