diff options
author | Andy Holder <andy.m.holder@googlemail.com> | 2010-12-11 18:02:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-12 21:16:57 +0000 |
commit | c0bc502f55fe555dc14e18362dcea246ab2f054c (patch) | |
tree | 485a1d7995d953d0d728729e141aa1e78f9a2375 /basic/source/runtime/iosys.cxx | |
parent | 4dfd93a3b31e8e9421fff0c6b81cd6d4fb8f4103 (diff) |
Change unnamespace file.hxx macros
Diffstat (limited to 'basic/source/runtime/iosys.cxx')
-rw-r--r-- | basic/source/runtime/iosys.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index 2b2bbe41133c..d9eafd1e01c2 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -364,21 +364,21 @@ OslStream::OslStream( const String& rName, short nStrmMode ) if( (nStrmMode & (STREAM_READ | STREAM_WRITE)) == (STREAM_READ | STREAM_WRITE) ) { - nFlags = OpenFlag_Read | OpenFlag_Write; + nFlags = osl_File_OpenFlag_Read | osl_File_OpenFlag_Write; } else if( nStrmMode & STREAM_WRITE ) { - nFlags = OpenFlag_Write; + nFlags = osl_File_OpenFlag_Write; } else //if( nStrmMode & STREAM_READ ) { - nFlags = OpenFlag_Read; + nFlags = osl_File_OpenFlag_Read; } osl::FileBase::RC nRet = maFile.open( nFlags ); - if( nRet == osl::FileBase::E_NOENT && nFlags != OpenFlag_Read ) + if( nRet == osl::FileBase::E_NOENT && nFlags != osl_File_OpenFlag_Read ) { - nFlags |= OpenFlag_Create; + nFlags |= osl_File_OpenFlag_Create; nRet = maFile.open( nFlags ); } |