[Libreoffice-commits] .: tools/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Sat Jan 21 08:57:20 PST 2012
tools/source/fsys/dirent.cxx | 4 ++--
tools/source/fsys/wntmsc.cxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit f433d5a9b8379f5207df92d80ce7dede9d9795d8
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sat Jan 21 17:57:10 2012 +0100
Fix Windows.
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx
index df3f163..a0d3d8e 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 9878480..361474d 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
More information about the Libreoffice-commits
mailing list