diff options
Diffstat (limited to 'tools/source/fsys')
-rw-r--r-- | tools/source/fsys/dirent.cxx | 2 | ||||
-rw-r--r-- | tools/source/fsys/filecopy.cxx | 2 | ||||
-rw-r--r-- | tools/source/fsys/os2.cxx | 8 | ||||
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx index 2957d1d67d93..1d21a8583436 100644 --- a/tools/source/fsys/dirent.cxx +++ b/tools/source/fsys/dirent.cxx @@ -117,7 +117,7 @@ int Sys2SolarError_Impl( int nSysErr ) #endif } - DBG_TRACE1( "FSys: unknown system error %d occured", nSysErr ); + DBG_TRACE1( "FSys: unknown system error %d occurred", nSysErr ); return FSYS_ERR_UNKNOWN; } diff --git a/tools/source/fsys/filecopy.cxx b/tools/source/fsys/filecopy.cxx index 12428a223524..bc0737a449d2 100644 --- a/tools/source/fsys/filecopy.cxx +++ b/tools/source/fsys/filecopy.cxx @@ -462,7 +462,7 @@ FSysError FileCopier::ExecuteExact( FSysAction nActions, FSysExact eExact ) DirEntry aAbsTarget = DirEntry( aTarget ); pImp->nActions = nActions; - // check if both pathes are accessible and source and target are different + // check if both paths are accessible and source and target are different if ( !aAbsTarget.ToAbs() || !aAbsSource.ToAbs() || aAbsTarget == aAbsSource ) return FSYS_ERR_ACCESSDENIED; diff --git a/tools/source/fsys/os2.cxx b/tools/source/fsys/os2.cxx index 96bac5088c71..f5b759c6f35b 100644 --- a/tools/source/fsys/os2.cxx +++ b/tools/source/fsys/os2.cxx @@ -109,7 +109,7 @@ int ApiRet2ToSolarError_Impl( int nApiRet ) case ERROR_FILENAME_EXCED_RANGE: return ERRCODE_IO_NAMETOOLONG; } - DBG_TRACE1( "FSys: unknown apiret error %d occured", nApiRet ); + DBG_TRACE1( "FSys: unknown apiret error %d occurred", nApiRet ); return FSYS_ERR_UNKNOWN; } @@ -709,7 +709,7 @@ const char* TempDirImpl( char *pBuf ) #if 0 void CreateCaseMapImpl() { - // build a string starting with code 0 as first character upto 255 + // build a string starting with code 0 as first character up to 255 char sTemp[256]; USHORT n; @@ -722,7 +722,7 @@ void CreateCaseMapImpl() aCountry.codepage = NLS_CODEPAGE; /* Code page */ DosMapCase( 255, &aCountry, sTemp+1 ); - // fill a global buffer starting with code 0 as first character upto 255 + // fill a global buffer starting with code 0 as first character up to 255 for ( n = 0; n < 256; ++n ) sCaseMap[n] = (char) n; @@ -730,7 +730,7 @@ void CreateCaseMapImpl() for ( n = 255; n > 0; --n ) // was this character converted? if ( sTemp[n] != (char) n ) - // we found a convertion from upper to lower + // we found a conversion from upper to lower sCaseMap[ (unsigned char) sTemp[n] ] = (char) n; bCaseMap = TRUE; diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index 18061f86dce2..f8859a3c18a8 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -4033,7 +4033,7 @@ bool INetURLObject::operator ==(INetURLObject const & rObject) const { // If the URL paths of two file URLs only differ in that one has a // final '/' and the other has not, take the two paths as - // equivalent (this could be usefull for other schemes, too): + // equivalent (this could be useful for other schemes, too): sal_Int32 nLength = aPath1.getLength(); switch (nLength - aPath2.getLength()) { |