diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-02-14 18:20:23 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-02-14 18:20:23 +0100 |
commit | db45e5f229c444e481e354863da1d07348ba9d67 (patch) | |
tree | ada7b20bd8efcfd76f8e169754ddf5bdb774252e /tools/source/fsys/filecopy.cxx | |
parent | a9aa5e1feff13541cdf725f83c408d5c5d795591 (diff) | |
parent | ce5f1dd187c3a7d8113c7653fa887b98fd50aaf6 (diff) |
rebase to DEV300_m100
Diffstat (limited to 'tools/source/fsys/filecopy.cxx')
-rwxr-xr-x[-rw-r--r--] | tools/source/fsys/filecopy.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/source/fsys/filecopy.cxx b/tools/source/fsys/filecopy.cxx index 62d361aa4af4..e087b6c4a4c3 100644..100755 --- a/tools/source/fsys/filecopy.cxx +++ b/tools/source/fsys/filecopy.cxx @@ -158,14 +158,14 @@ FileCopier& FileCopier::operator = ( const FileCopier &rCopier ) |* *************************************************************************/ -BOOL FileCopier::Progress() +sal_Bool FileCopier::Progress() { if ( !aProgressLink ) - return TRUE; + return sal_True; else { if ( aProgressLink.Call( this ) ) - return TRUE; + return sal_True; return ( 0 == Error( ERRCODE_ABORT, 0, 0 ) ); } } @@ -243,7 +243,7 @@ FSysError FileCopier::DoCopy_Impl( // HPFS->FAT? FSysPathStyle eSourceStyle = DirEntry::GetPathStyle( rSource.ImpGetTopPtr()->GetName() ); FSysPathStyle eTargetStyle = DirEntry::GetPathStyle( rTarget.ImpGetTopPtr()->GetName() ); - BOOL bMakeShortNames = ( eSourceStyle == FSYS_STYLE_HPFS && eTargetStyle == FSYS_STYLE_FAT ); + sal_Bool bMakeShortNames = ( eSourceStyle == FSYS_STYLE_HPFS && eTargetStyle == FSYS_STYLE_FAT ); // Zieldateiname ggf. kuerzen DirEntry aTgt; @@ -315,7 +315,7 @@ FSysError FileCopier::DoCopy_Impl( // recursive copy eRet = Error( aTgt.MakeDir() ? FSYS_ERR_OK : FSYS_ERR_UNKNOWN, 0, &aTgt ); Dir aSourceDir( rSource, FSYS_KIND_DIR|FSYS_KIND_FILE ); - for ( USHORT n = 0; ERRCODE_TOERROR(eRet) == FSYS_ERR_OK && n < aSourceDir.Count(); ++n ) + for ( sal_uInt16 n = 0; ERRCODE_TOERROR(eRet) == FSYS_ERR_OK && n < aSourceDir.Count(); ++n ) { const DirEntry &rSubSource = aSourceDir[n]; DirEntryFlag eFlag = rSubSource.GetFlag(); |