Skip to content

Commit b1aa6ef

Browse files
authored
Merge pull request #139 from Numpsy/spelling
A few spelling suggestions made by the Visual Studio spell checker
2 parents 8f9525c + b07a6ac commit b1aa6ef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sources/OpenMcdf/CompoundFile.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public int Compare(CFItem x, CFItem y)
2727
}
2828

2929
/// <summary>
30-
/// Configuration parameters for the compund files.
30+
/// Configuration parameters for the compound files.
3131
/// They can be OR-combined to configure
3232
/// <see cref="T:OpenMcdf.CompoundFile">Compound file</see> behaviour.
3333
/// All flags are NOT set by Default.
@@ -112,7 +112,7 @@ public enum CFSUpdateMode
112112
/// Standard Microsoft&#169; Compound File implementation.
113113
/// It is also known as OLE/COM structured storage
114114
/// and contains a hierarchy of storage and stream objects providing
115-
/// efficent storage of multiple kinds of documents in a single file.
115+
/// efficient storage of multiple kinds of documents in a single file.
116116
/// Version 3 and 4 of specifications are supported.
117117
/// </summary>
118118
public class CompoundFile : IDisposable
@@ -1146,7 +1146,7 @@ private void AllocateDIFATSectorChain(List<Sector> FATsectorChain)
11461146
nCurrentSectors++;
11471147

11481148
//... so, adding a FAT sector may induce DIFAT sectors to increase by one
1149-
// and consequently this may induce ANOTHER FAT sector (TO-THINK: May this condition occure ?)
1149+
// and consequently this may induce ANOTHER FAT sector (TO-THINK: May this condition occur ?)
11501150
if (nDIFATSectors * DIFAT_SECTOR_FAT_ENTRIES_COUNT <
11511151
(header.FATSectorsNumber > HEADER_DIFAT_ENTRIES_COUNT ?
11521152
header.FATSectorsNumber - HEADER_DIFAT_ENTRIES_COUNT :
@@ -1569,7 +1569,7 @@ internal List<Sector> GetSectorChain(int secID, SectorType chainType)
15691569
return GetMiniSectorChain(secID);
15701570

15711571
default:
1572-
throw new CFException("Unsupproted chain type");
1572+
throw new CFException("Unsupported chain type");
15731573
}
15741574
}
15751575

@@ -2668,7 +2668,7 @@ void IDisposable.Dispose()
26682668

26692669
/// <summary>
26702670
/// When called from user code, release all resources, otherwise, in the case runtime called it,
2671-
/// only unmanagd resources are released.
2671+
/// only unmanaged resources are released.
26722672
/// </summary>
26732673
/// <param name="disposing">If true, method has been called from User code, if false it's been called from .net runtime</param>
26742674
protected virtual void Dispose(bool disposing)
@@ -2760,7 +2760,7 @@ private IList<IDirectoryEntry> FindDirectoryEntries(String entryName)
27602760
/// <summary>
27612761
/// Get a list of all entries with a given name contained in the document.
27622762
/// </summary>
2763-
/// <param name="entryName">Name of entries to retrive</param>
2763+
/// <param name="entryName">Name of entries to retrieve</param>
27642764
/// <returns>A list of name-matching entries</returns>
27652765
/// <remarks>This function is aimed to speed up entity lookup in
27662766
/// flat-structure files (only one or little more known entries)

0 commit comments

Comments
 (0)