diff options
-rw-r--r-- | basic/source/classes/sb.cxx | 4 | ||||
-rw-r--r-- | l10ntools/inc/xmlparse.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 955aabe57c15..c38a6c04989b 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1246,7 +1246,7 @@ void StarBASIC::DeInitAllModules() // a public var or an entrypoint. If it is not found and we look for a // method and a module with the given name is found the search continues // for entrypoint "Main". -// If this fails again a conventional search over objects is performend. +// If this fails again a conventional search over objects is performed. SbxVariable* StarBASIC::Find( const OUString& rName, SbxClassType t ) { SbxVariable* pRes = nullptr; @@ -1581,7 +1581,7 @@ void StarBASIC::MakeErrorText( ErrCode nId, std::u16string_view aMsg ) } GetSbData()->aErrMsg = aMsg1.makeStringAndClear(); } - // tdf#123144 - don't use an artifical error message if there is a custom one + // tdf#123144 - don't use an artificial error message if there is a custom one else if (!aMsg.empty()) { GetSbData()->aErrMsg = aMsg; diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index 951d33b5d813..a9993f460b5c 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -274,7 +274,7 @@ public: /// create a comment node XMLComment( const OString &rComment, // the comment - XMLParentNode *pParent // the parent node of this comemnt, typically an element node + XMLParentNode *pParent // the parent node of this comment, typically an element node ) : XMLChildNode( pParent ), m_sComment( rComment ) {} @@ -297,7 +297,7 @@ public: /// create a comment node XMLDefault( const OString &rDefault, // the comment - XMLParentNode *pParent // the parent node of this comemnt, typically an element node + XMLParentNode *pParent // the parent node of this comment, typically an element node ) : XMLChildNode( pParent ), m_sDefault( rDefault ) {} |