diff options
Diffstat (limited to 'idl/source/prj')
-rw-r--r-- | idl/source/prj/command.cxx | 4 | ||||
-rw-r--r-- | idl/source/prj/database.cxx | 2 | ||||
-rw-r--r-- | idl/source/prj/svidl.cxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index 6e1972799f68..005c0f05946e 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -133,7 +133,7 @@ bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand ) { OUString aFileName ( rCommand.aInFileList[ n ] ); pDataBase->AddDepFile(aFileName); - SvFileStream aStm( aFileName, STREAM_STD_READ | STREAM_NOCREATE ); + SvFileStream aStm( aFileName, STREAM_STD_READ | StreamMode::NOCREATE ); if( aStm.GetError() == SVSTREAM_OK ) { SvTokenStream aTokStm( aStm, aFileName ); @@ -159,7 +159,7 @@ static bool ResponseFile( StringList * pList, int argc, char ** argv ) { if( '@' == **(argv +i) ) { // when @, then response file - SvFileStream aStm( OUString::createFromAscii((*(argv +i)) +1), STREAM_STD_READ | STREAM_NOCREATE ); + SvFileStream aStm( OUString::createFromAscii((*(argv +i)) +1), STREAM_STD_READ | StreamMode::NOCREATE ); if( aStm.GetError() != SVSTREAM_OK ) return false; diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index c6c37c55a49b..98d02993bb73 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -562,7 +562,7 @@ bool SvIdlWorkingBase::ReadSvIdl( SvTokenStream & rInStm, bool bImported, const { osl::FileBase::getSystemPathFromFileURL( aFullName, aFullName ); this->AddDepFile(aFullName); - SvFileStream aStm( aFullName, STREAM_STD_READ | STREAM_NOCREATE ); + SvFileStream aStm( aFullName, STREAM_STD_READ | StreamMode::NOCREATE ); SvTokenStream aTokStm( aStm, aFullName ); bOk = ReadSvIdl( aTokStm, true, rPath ); } diff --git a/idl/source/prj/svidl.cxx b/idl/source/prj/svidl.cxx index 852b6bacf524..ee1bb85bb162 100644 --- a/idl/source/prj/svidl.cxx +++ b/idl/source/prj/svidl.cxx @@ -131,7 +131,7 @@ int main ( int argc, char ** argv) if( nExit == 0 && !aCommand.aSlotMapFile.isEmpty() ) { aTmpSlotMapFile = tempFileHelper(aCommand.aSlotMapFile); - SvFileStream aOutStm( aTmpSlotMapFile, STREAM_READWRITE | STREAM_TRUNC ); + SvFileStream aOutStm( aTmpSlotMapFile, STREAM_READWRITE | StreamMode::TRUNC ); if( !pDataBase->WriteSfx( aOutStm ) ) { nExit = -1; @@ -143,7 +143,7 @@ int main ( int argc, char ** argv) if (nExit == 0 && !aCommand.m_DepFile.isEmpty()) { aTmpDepFile = tempFileHelper(aCommand.m_DepFile); - SvFileStream aOutStm( aTmpDepFile, STREAM_READWRITE | STREAM_TRUNC ); + SvFileStream aOutStm( aTmpDepFile, STREAM_READWRITE | StreamMode::TRUNC ); pDataBase->WriteDepFile(aOutStm, aCommand.aTargetFile); if( aOutStm.GetError() != SVSTREAM_OK ) { @@ -196,7 +196,7 @@ int main ( int argc, char ** argv) { // stamp file, because idl passed through correctly SvFileStream aOutStm( aCommand.aTargetFile, - STREAM_READWRITE | STREAM_TRUNC ); + STREAM_READWRITE | StreamMode::TRUNC ); } } } |