[Libreoffice-commits] core.git: basic/source l10ntools/inc

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 22 04:25:23 UTC 2021


 basic/source/classes/sb.cxx |    4 ++--
 l10ntools/inc/xmlparse.hxx  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e7c83595d75d6287eff506112c1654a3a945d9a3
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue Sep 21 23:28:20 2021 +0200
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Wed Sep 22 06:24:49 2021 +0200

    Fix typos
    
    Change-Id: Icd2f83bddcb993a6430d328d0bc51f38d70374ce
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122412
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

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 ) {}
 


More information about the Libreoffice-commits mailing list