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

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

Fix various typos via codespell.
This commit is contained in:
luz paz
2021-04-01 20:18:10 +03:00
committed by bugmaster
parent 00e9052bee
commit 5e6e59146f
59 changed files with 288 additions and 512 deletions

View File

@@ -76,7 +76,7 @@ public:
static void StopAlert (const Handle(Message_AlertExtended)& theAlert) { SetAlertMetrics (theAlert, Standard_False); }
//! Sets current values of default report metrics into the alert.
//! Processed oly alert with Message_AttributeMeter attribute
//! Processed only alert with Message_AttributeMeter attribute
//! @param theAlert an alert
//! @param theStartValue flag, if true, the start value is collected otherwise stop
static Standard_EXPORT void SetAlertMetrics (const Handle(Message_AlertExtended)& theAlert,

View File

@@ -56,7 +56,6 @@ public:
DEFINE_STANDARD_ALLOC
//! Load message file <theFileName> from directory <theDirName>
//! or its sub-directory
Standard_EXPORT static Standard_Boolean Load (const Standard_CString theDirName, const Standard_CString theFileName);
@@ -96,36 +95,13 @@ public:
Standard_EXPORT static const TCollection_ExtendedString& Msg (const Standard_CString key);
//! Gives the text for the message identified by the keyword <key>
//! If there are no messages with such keyword defined,
//! the error message is returned.
//! In that case reference to static string is returned, it can
//! be chenged with next call(s) to Msg().
//! Gives the text for the message identified by the keyword <key>.
//! If there are no messages with such keyword defined, the error message is returned.
//! In that case reference to static string is returned, it can be changed with next call(s) to Msg().
//! Note: The error message is constructed like 'Unknown message: <key>', and can
//! itself be customized by defining message with key Message_Msg_BadKeyword.
Standard_EXPORT static const TCollection_ExtendedString& Msg (const TCollection_AsciiString& key);
protected:
private:
};
#endif // _Message_MsgFile_HeaderFile