From b07a6ac32473f44ff8a7da526f0eacc5a469b3b7 Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Fri, 9 Aug 2024 10:49:26 +0100 Subject: [PATCH] A few spelling suggestions made by the Visual Studio spell checker --- sources/OpenMcdf/CompoundFile.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sources/OpenMcdf/CompoundFile.cs b/sources/OpenMcdf/CompoundFile.cs index df2d429d..0266c690 100644 --- a/sources/OpenMcdf/CompoundFile.cs +++ b/sources/OpenMcdf/CompoundFile.cs @@ -27,7 +27,7 @@ public int Compare(CFItem x, CFItem y) } /// - /// Configuration parameters for the compund files. + /// Configuration parameters for the compound files. /// They can be OR-combined to configure /// Compound file behaviour. /// All flags are NOT set by Default. @@ -112,7 +112,7 @@ public enum CFSUpdateMode /// Standard Microsoft© Compound File implementation. /// It is also known as OLE/COM structured storage /// and contains a hierarchy of storage and stream objects providing - /// efficent storage of multiple kinds of documents in a single file. + /// efficient storage of multiple kinds of documents in a single file. /// Version 3 and 4 of specifications are supported. /// public class CompoundFile : IDisposable @@ -1146,7 +1146,7 @@ private void AllocateDIFATSectorChain(List FATsectorChain) nCurrentSectors++; //... so, adding a FAT sector may induce DIFAT sectors to increase by one - // and consequently this may induce ANOTHER FAT sector (TO-THINK: May this condition occure ?) + // and consequently this may induce ANOTHER FAT sector (TO-THINK: May this condition occur ?) if (nDIFATSectors * DIFAT_SECTOR_FAT_ENTRIES_COUNT < (header.FATSectorsNumber > HEADER_DIFAT_ENTRIES_COUNT ? header.FATSectorsNumber - HEADER_DIFAT_ENTRIES_COUNT : @@ -1569,7 +1569,7 @@ internal List GetSectorChain(int secID, SectorType chainType) return GetMiniSectorChain(secID); default: - throw new CFException("Unsupproted chain type"); + throw new CFException("Unsupported chain type"); } } @@ -2668,7 +2668,7 @@ void IDisposable.Dispose() /// /// When called from user code, release all resources, otherwise, in the case runtime called it, - /// only unmanagd resources are released. + /// only unmanaged resources are released. /// /// If true, method has been called from User code, if false it's been called from .net runtime protected virtual void Dispose(bool disposing) @@ -2760,7 +2760,7 @@ private IList FindDirectoryEntries(String entryName) /// /// Get a list of all entries with a given name contained in the document. /// - /// Name of entries to retrive + /// Name of entries to retrieve /// A list of name-matching entries /// This function is aimed to speed up entity lookup in /// flat-structure files (only one or little more known entries)