diff options
author | Andy Holder <andy.m.holder@googlemail.com> | 2010-12-10 00:26:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-12 21:15:27 +0000 |
commit | f43de734575eb72c9f20efba54ff32b256be4651 (patch) | |
tree | 2007a7be04c981f6eaf37b2c1df5093ce3e19f71 /soltools | |
parent | Windows builds need msvcr71.dll in external/msvcp71 (diff) | |
download | core-f43de734575eb72c9f20efba54ff32b256be4651.tar.gz core-f43de734575eb72c9f20efba54ff32b256be4651.zip |
Change unnamespaced file.hxx macros
Diffstat (limited to 'soltools')
-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() ) { |