[Libreoffice-commits] .: soltools/testSHL
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Dec 12 13:15:31 PST 2010
soltools/testSHL/util/tlog.cxx | 4 ++--
soltools/testSHL/util/tutil.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 6d74506597317166e81ffd6095c0bb7d5e3ce0d0
Author: Andy Holder <andy.m.holder at googlemail.com>
Date: Fri Dec 10 00:26:48 2010 +0000
Change unnamespaced file.hxx macros
diff --git a/soltools/testSHL/util/tlog.cxx b/soltools/testSHL/util/tlog.cxx
index 7de581a..366e667 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 d1da786..0cf734f 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() ) {
More information about the Libreoffice-commits
mailing list