diff options
Diffstat (limited to 'soltools/testSHL')
-rw-r--r-- | soltools/testSHL/util/tlog.cxx | 4 | ||||
-rw-r--r-- | soltools/testSHL/util/tutil.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/soltools/testSHL/util/tlog.cxx b/soltools/testSHL/util/tlog.cxx index d8f8eb9b8b6c..f3efa82e183b 100644 --- a/soltools/testSHL/util/tlog.cxx +++ b/soltools/testSHL/util/tlog.cxx @@ -52,8 +52,8 @@ void tLog::initialize( const ::rtl::OString& name ) { ret = ::osl::File::remove( m_logname ); } - if( m_logfile->open( OpenFlag_Write ) == ::osl::FileBase::E_NOENT ) { - ret = m_logfile->open( OpenFlag_Write | OpenFlag_Create ); + if( m_logfile->open( osl_File_OpenFlag_Write ) == ::osl::FileBase::E_NOENT ) { + ret = m_logfile->open( osl_File_OpenFlag_Write | osl_File_OpenFlag_Create ); } else { ret = m_logfile->setPos( Pos_End, 0 ); diff --git a/soltools/testSHL/util/tutil.cxx b/soltools/testSHL/util/tutil.cxx index 9d0de406a6e6..81d068917101 100644 --- a/soltools/testSHL/util/tutil.cxx +++ b/soltools/testSHL/util/tutil.cxx @@ -75,7 +75,7 @@ sal_uInt32 getEntriesFromFile( sal_Char* fName, vector< sal_Char* >& entries ) { ::osl::File inFile( cnvrtPth( fName ) ); - if ( inFile.open( OpenFlag_Read ) == ::osl::FileBase::E_None) { + if ( inFile.open( osl_File_OpenFlag_Read ) == ::osl::FileBase::E_None) { ::rtl::ByteSequence byteSeq; inFile.readLine( byteSeq ); while ( byteSeq.getLength() ) { |