From f433d5a9b8379f5207df92d80ce7dede9d9795d8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 21 Jan 2012 17:57:10 +0100 Subject: [PATCH] Fix Windows. --- tools/source/fsys/dirent.cxx | 4 ++-- 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