diff options
author | Thomas Collerton <tom.coll91@gmail.com> | 2012-01-23 14:04:47 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-01-23 14:04:47 +0530 |
commit | 7735b09b5e10e366ffb3a156790316ea0ccfa0a0 (patch) | |
tree | f0ee420f3ae019a5e750c9a97de305dec8dd7fcd /tools/source/stream | |
parent | ac7a8bfe4e53d4615929bcafe9cbdd88d03b6e1d (diff) |
fdo#44988: Remove obsolete BOOTSTRAP defines.
Diffstat (limited to 'tools/source/stream')
-rw-r--r-- | tools/source/stream/strmunx.cxx | 8 | ||||
-rw-r--r-- | tools/source/stream/strmwnt.cxx | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index 031aaa5a1713..3709f00f4cb0 100644 --- a/tools/source/stream/strmunx.cxx +++ b/tools/source/stream/strmunx.cxx @@ -58,9 +58,7 @@ using namespace osl; // - InternalLock - // ---------------- -#ifndef BOOTSTRAP namespace { struct LockMutex : public rtl::Static< osl::Mutex, LockMutex > {}; } -#endif class InternalStreamLock { @@ -122,9 +120,7 @@ InternalStreamLock::~InternalStreamLock() sal_Bool InternalStreamLock::LockFile( sal_Size nStart, sal_Size nEnd, SvFileStream* pStream ) { -#ifndef BOOTSTRAP osl::MutexGuard aGuard( LockMutex::get() ); -#endif osl::DirectoryItem aItem; if (osl::DirectoryItem::get( pStream->GetFileName(), aItem) != osl::FileBase::E_None ) { @@ -181,9 +177,7 @@ sal_Bool InternalStreamLock::LockFile( sal_Size nStart, sal_Size nEnd, SvFileStr void InternalStreamLock::UnlockFile( sal_Size nStart, sal_Size nEnd, SvFileStream* pStream ) { -#ifndef BOOTSTRAP osl::MutexGuard aGuard( LockMutex::get() ); -#endif InternalStreamLock* pLock = NULL; InternalStreamLockList &rLockList = LockList::get(); if( nStart == 0 && nEnd == 0 ) @@ -693,9 +687,7 @@ void SvFileStream::Open( const String& rFilename, StreamMode nOpenMode ) // !!! DirEntry aDirEntry( rFilename ); // !!! aFilename = aDirEntry.GetFull(); aFilename = rFilename; -#ifndef BOOTSTRAP FSysRedirector::DoRedirect( aFilename ); -#endif rtl::OString aLocalFilename(rtl::OUStringToOString(aFilename, osl_getThreadTextEncoding())); #ifdef DBG_UTIL diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx index 4ca353d9c077..c1c6f1396713 100644 --- a/tools/source/stream/strmwnt.cxx +++ b/tools/source/stream/strmwnt.cxx @@ -396,9 +396,7 @@ void SvFileStream::Open( const String& rFilename, StreamMode nMode ) // !!! aFilename = aDirEntry.GetFull(); aFilename = aParsedFilename; rtl::OString aFileNameA(rtl::OUStringToOString(aFilename, osl_getThreadTextEncoding())); -#ifndef BOOTSTRAP FSysRedirector::DoRedirect( aFilename ); -#endif SetLastError( ERROR_SUCCESS ); // ggf. durch Redirector geaendert! DWORD nOpenAction; |