diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-21 17:57:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-21 17:57:10 +0100 |
commit | f433d5a9b8379f5207df92d80ce7dede9d9795d8 (patch) | |
tree | a704e35a4dcd4fcb4e40881deba7b08317a72aae /tools | |
parent | c76d098cd840c3bf830f04aecc879521b844098d (diff) |
Fix Windows.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/fsys/dirent.cxx | 4 | ||||
-rw-r--r-- | tools/source/fsys/wntmsc.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx index df3f16392a01..a0d3d8ec96ba 100644 --- a/tools/source/fsys/dirent.cxx +++ b/tools/source/fsys/dirent.cxx @@ -1529,9 +1529,9 @@ DirEntry DirEntry::GetDevice() const if ( ( pTop->eFlag == FSYS_FLAG_ABSROOT || pTop->eFlag == FSYS_FLAG_RELROOT ) && !pTop->aName.isEmpty() ) - return DirEntry( pTop->aName, FSYS_FLAG_VOLUME, FSYS_STYLE_HOST ); + return DirEntry( pTop->aName, FSYS_FLAG_VOLUME ); else - return DirEntry( rtl::OString(), FSYS_FLAG_INVALID, FSYS_STYLE_HOST ); + return DirEntry( rtl::OString(), FSYS_FLAG_INVALID ); } #endif diff --git a/tools/source/fsys/wntmsc.cxx b/tools/source/fsys/wntmsc.cxx index 98784801a026..361474d1a9f4 100644 --- a/tools/source/fsys/wntmsc.cxx +++ b/tools/source/fsys/wntmsc.cxx @@ -315,13 +315,13 @@ USHORT DirReader_Impl::Read() DirEntry *pTemp = new DirEntry( rtl::OString(pDosEntry->d_name), eFlag ); #ifdef FEAT_FSYS_DOUBLESPEED - pTemp->ImpSetStat( new FileStat( (void*) pDosDir, (void*) 0 ) ); + pTemp->ImpSetStat( new FileStat( (void*) pDosDir ) ); #endif if ( pParent ) pTemp->ImpChangeParent( new DirEntry( *pParent ), sal_False ); 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 ); } else |