summaryrefslogtreecommitdiff
path: root/sot/source/unoolestorage/xolesimplestorage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/unoolestorage/xolesimplestorage.cxx')
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx
index 368da14a3639..fd4b822e9643 100644
--- a/sot/source/unoolestorage/xolesimplestorage.cxx
+++ b/sot/source/unoolestorage/xolesimplestorage.cxx
@@ -489,7 +489,7 @@ uno::Any SAL_CALL OLESimpleStorage::getByName( const OUString& aName )
}
else
{
- BaseStorageStream* pStream = m_pStorage->OpenStream( aName, STREAM_READ | STREAM_SHARE_DENYALL | STREAM_NOCREATE );
+ BaseStorageStream* pStream = m_pStorage->OpenStream( aName, StreamMode::READ | StreamMode::SHARE_DENYALL | StreamMode::NOCREATE );
try
{
if ( !pStream || pStream->GetError() || m_pStorage->GetError() )