1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0031939: Coding - correction of spelling errors in comments [part 8]

Fix various typos

Fixed via codespell v2.1.dev
This commit is contained in:
luz paz
2021-02-01 12:52:47 +03:00
committed by bugmaster
parent 8df3104cd2
commit 4551e1be75
110 changed files with 219 additions and 225 deletions

View File

@@ -173,7 +173,7 @@ void XmlMDataStd_ByteArrayDriver::Paste(const Handle(TDF_Attribute)& theSource,
const Handle(TColStd_HArray1OfByte)& hArr = aByteArray->InternalArray();
if (!hArr.IsNull() && hArr->Length())
{
// Access to data through an internal reprsentation of the array is faster.
// Access to data through an internal representation of the array is faster.
const TColStd_Array1OfByte& arr = hArr->Array1();
// Allocate 4 characters (including a space ' ') for each byte (unsigned char) from the array.

View File

@@ -243,7 +243,7 @@ void XmlMDataStd_ExtStringArrayDriver::Paste (const Handle(TDF_Attribute)& theSo
Standard_Character c = '-';
if (theRelocTable.GetHeaderData()->StorageVersion().IntegerValue() >= TDocStd_FormatVersion_VERSION_8)
{
// Preferrable symbols for the separator: - _ . : ^ ~
// Preferable symbols for the separator: - _ . : ^ ~
// Don't use a space as a separator: XML low-level parser sometimes "eats" it.
static Standard_Character aPreferable[] = "-_.:^~";
for (i = 0; found && aPreferable[i]; i++)
@@ -251,7 +251,7 @@ void XmlMDataStd_ExtStringArrayDriver::Paste (const Handle(TDF_Attribute)& theSo
c = aPreferable[i];
found = Contains(aExtStringArray, TCollection_ExtendedString(c));
}
// If all prefferable symbols exist in the array,
// If all preferable symbols exist in the array,
// try to use any other simple symbols.
if (found)
{