[PATCH] Change unnamespaced file.hxx macros
Andy Holder
andy.m.holder at googlemail.com
Thu Dec 9 16:26:48 PST 2010
---
soltools/testSHL/util/tlog.cxx | 4 ++--
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 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() ) {
--
1.7.3.2
--MP_/b/7eCpPSuNsI+VjM0PBzGO.
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=0002-Remove-commented-out-code-libs-core.patch
More information about the LibreOffice
mailing list