summaryrefslogtreecommitdiff
path: root/idl/source/prj/svidl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/source/prj/svidl.cxx')
-rw-r--r--idl/source/prj/svidl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/idl/source/prj/svidl.cxx b/idl/source/prj/svidl.cxx
index 96c651e44271..aa517f67b7c1 100644
--- a/idl/source/prj/svidl.cxx
+++ b/idl/source/prj/svidl.cxx
@@ -35,8 +35,8 @@ bool FileMove_Impl( const OUString & rFile1, const OUString & rFile2, bool bImme
sal_uLong nC2 = 1;
if( !bImmerVerschieben )
{
- SvFileStream aOutStm1( rFile1, STREAM_STD_READ );
- SvFileStream aOutStm2( rFile2, STREAM_STD_READ );
+ SvFileStream aOutStm1( rFile1, StreamMode::STD_READ );
+ SvFileStream aOutStm2( rFile2, StreamMode::STD_READ );
if( aOutStm1.GetError() == SVSTREAM_OK )
{
std::unique_ptr<sal_uInt8[]> pBuf1(new sal_uInt8[ BR ]);
@@ -130,7 +130,7 @@ int main ( int argc, char ** argv)
if( nExit == 0 && !aCommand.aSlotMapFile.isEmpty() )
{
aTmpSlotMapFile = tempFileHelper(aCommand.aSlotMapFile);
- SvFileStream aOutStm( aTmpSlotMapFile, STREAM_READWRITE | StreamMode::TRUNC );
+ SvFileStream aOutStm( aTmpSlotMapFile, StreamMode::READWRITE | StreamMode::TRUNC );
if( !pDataBase->WriteSfx( aOutStm ) )
{
nExit = -1;
@@ -142,7 +142,7 @@ int main ( int argc, char ** argv)
if (nExit == 0 && !aCommand.m_DepFile.isEmpty())
{
aTmpDepFile = tempFileHelper(aCommand.m_DepFile);
- SvFileStream aOutStm( aTmpDepFile, STREAM_READWRITE | StreamMode::TRUNC );
+ SvFileStream aOutStm( aTmpDepFile, StreamMode::READWRITE | StreamMode::TRUNC );
pDataBase->WriteDepFile(aOutStm, aCommand.aTargetFile);
if( aOutStm.GetError() != SVSTREAM_OK )
{
@@ -195,7 +195,7 @@ int main ( int argc, char ** argv)
{
// stamp file, because idl passed through correctly
SvFileStream aOutStm( aCommand.aTargetFile,
- STREAM_READWRITE | StreamMode::TRUNC );
+ StreamMode::READWRITE | StreamMode::TRUNC );
}
}
}