summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-09-21 23:28:20 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2021-09-22 06:24:49 +0200
commite7c83595d75d6287eff506112c1654a3a945d9a3 (patch)
tree2e3666e711a88ee81b103ce82d4bee04d052b731
parentd62f03d316fb4c60087fc2af626bbd0b35b98693 (diff)
Fix typos
Change-Id: Icd2f83bddcb993a6430d328d0bc51f38d70374ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122412 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--basic/source/classes/sb.cxx4
-rw-r--r--l10ntools/inc/xmlparse.hxx4
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 ) {}