diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-01-19 14:01:45 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-01-19 14:01:45 +0200 |
commit | 755f299eccee79aa91ce6d935b85d2b00fe74974 (patch) | |
tree | 78ea6f9eef7543f7b9ea8dee511f2c6acbbb7ca1 /tools | |
parent | 0c17acbb321ced2afe2f0ff6769291549838ebaa (diff) |
C++ is a nicely standardized language
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/strmunx.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index 8b47282d07b2..0fcddbd09db3 100644 --- a/tools/source/stream/strmunx.cxx +++ b/tools/source/stream/strmunx.cxx @@ -126,19 +126,19 @@ sal_Bool InternalStreamLock::LockFile( sal_Size nStart, sal_Size nEnd, SvFileStr osl::MutexGuard aGuard( LockMutex::get() ); #endif osl::DirectoryItem aItem; - if (osl::DirectoryItem::get( pStream->GetFileName(), aItem) != osl::FileBase::RC::E_None ) + if (osl::DirectoryItem::get( pStream->GetFileName(), aItem) != osl::FileBase::E_None ) { SAL_INFO("tools", "Failed to lookup stream for locking"); return sal_True; } osl::FileStatus aStatus( osl_FileStatus_Mask_Type ); - if ( aItem.getFileStatus( aStatus ) != osl::FileBase::RC::E_None ) + if ( aItem.getFileStatus( aStatus ) != osl::FileBase::E_None ) { SAL_INFO("tools", "Failed to stat stream for locking"); return sal_True; } - if( aStatus.getFileType() == osl::FileStatus::Type::Directory ) + if( aStatus.getFileType() == osl::FileStatus::Directory ) return sal_True; InternalStreamLock* pLock = NULL; |