From 33b38082ca63813f7c478945be198cc504efde4b Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sat, 27 Aug 2016 10:18:06 +0200 Subject: put StreamMode masks in scope of enum class Change-Id: I77682f7e289a59b986bb84edf014029a20266470 Reviewed-on: https://gerrit.libreoffice.org/28420 Tested-by: Jenkins Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- svl/source/fsstor/fsstorage.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svl') diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx index 08561f0e0885..cbcc682599fc 100644 --- a/svl/source/fsstor/fsstorage.cxx +++ b/svl/source/fsstor/fsstorage.cxx @@ -406,7 +406,7 @@ uno::Reference< io::XStream > SAL_CALL FSStorage::openStreamElement( { // TODO: test whether it really works for http and fwp SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( aFileURL.GetMainURL( INetURLObject::NO_DECODE ), - STREAM_STD_WRITE ); + StreamMode::STD_WRITE ); if ( pStream ) { if ( !pStream->GetError() ) @@ -1354,7 +1354,7 @@ uno::Reference< embed::XExtendedStorageStream > SAL_CALL FSStorage::openStreamEl { // TODO: test whether it really works for http and fwp SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( aFileURL, - STREAM_STD_WRITE ); + StreamMode::STD_WRITE ); if ( pStream ) { if ( !pStream->GetError() ) -- cgit