Kaydet (Commit) f433d5a9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix Windows.

üst c76d098c
...@@ -1529,9 +1529,9 @@ DirEntry DirEntry::GetDevice() const ...@@ -1529,9 +1529,9 @@ DirEntry DirEntry::GetDevice() const
if ( ( pTop->eFlag == FSYS_FLAG_ABSROOT || pTop->eFlag == FSYS_FLAG_RELROOT ) && if ( ( pTop->eFlag == FSYS_FLAG_ABSROOT || pTop->eFlag == FSYS_FLAG_RELROOT ) &&
!pTop->aName.isEmpty() ) !pTop->aName.isEmpty() )
return DirEntry( pTop->aName, FSYS_FLAG_VOLUME, FSYS_STYLE_HOST ); return DirEntry( pTop->aName, FSYS_FLAG_VOLUME );
else else
return DirEntry( rtl::OString(), FSYS_FLAG_INVALID, FSYS_STYLE_HOST ); return DirEntry( rtl::OString(), FSYS_FLAG_INVALID );
} }
#endif #endif
......
...@@ -315,13 +315,13 @@ USHORT DirReader_Impl::Read() ...@@ -315,13 +315,13 @@ USHORT DirReader_Impl::Read()
DirEntry *pTemp = new DirEntry( rtl::OString(pDosEntry->d_name), DirEntry *pTemp = new DirEntry( rtl::OString(pDosEntry->d_name),
eFlag ); eFlag );
#ifdef FEAT_FSYS_DOUBLESPEED #ifdef FEAT_FSYS_DOUBLESPEED
pTemp->ImpSetStat( new FileStat( (void*) pDosDir, (void*) 0 ) ); pTemp->ImpSetStat( new FileStat( (void*) pDosDir ) );
#endif #endif
if ( pParent ) if ( pParent )
pTemp->ImpChangeParent( new DirEntry( *pParent ), sal_False ); pTemp->ImpChangeParent( new DirEntry( *pParent ), sal_False );
if ( pDir->pStatLst ) //Status fuer Sort gewuenscht? if ( pDir->pStatLst ) //Status fuer Sort gewuenscht?
{ {
FileStat *pNewStat = new FileStat( (void*) pDosDir, (void*) 0 ); FileStat *pNewStat = new FileStat( (void*) pDosDir );
pDir->ImpSortedInsert( pTemp, pNewStat ); pDir->ImpSortedInsert( pTemp, pNewStat );
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment