From 7f8f277b94704a289fbbd1b836e4e5d66311580d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 7 Jan 2015 09:28:42 +0200 Subject: fdo#84938: convert STREAM_ #defines to 'enum class' Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e --- rsc/source/rsc/rsc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rsc') diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx index 402fb6711f21..5abce914bc08 100644 --- a/rsc/source/rsc/rsc.cxx +++ b/rsc/source/rsc/rsc.cxx @@ -837,8 +837,8 @@ void RscCompiler::PreprocessSrsFile( const RscCmdLine::OutputFile& rOutputFile, const OUString& rSrsInPath, const OUString& rSrsOutPath ) { - SvFileStream aIStm( rSrsInPath, STREAM_READ ); - SvFileStream aOStm( rSrsOutPath, STREAM_WRITE | STREAM_TRUNC ); + SvFileStream aIStm( rSrsInPath, StreamMode::READ ); + SvFileStream aOStm( rSrsOutPath, StreamMode::WRITE | StreamMode::TRUNC ); ::std::vector< OString > aMissingImages; FILE* pSysListFile = rContext.aOutputSysList.isEmpty() ? NULL : fopen( rContext.aOutputSysList.getStr(), "ab" ); -- cgit