[Libreoffice-commits] core.git: accessibility/source basegfx/source basic/qa basic/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 17 17:43:24 UTC 2020


 accessibility/source/extended/textwindowaccessibility.cxx |    2 +-
 basegfx/source/polygon/b2dpolygontools.cxx                |    4 ++--
 basic/qa/vba_tests/partition.vb                           |    2 +-
 basic/source/classes/sb.cxx                               |    2 +-
 basic/source/classes/sbunoobj.cxx                         |    4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit d7484b08c636801b474582c1e940dc8e497b74e8
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 17 17:41:07 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 17 19:42:42 2020 +0200

    Fix typos
    
    Change-Id: Id31299912b822baf9eecbb03cba53339f0528ae8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100867
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index 68814bac9b7e..83866419abc4 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -889,7 +889,7 @@ Document::retrieveCharacterBounds(Paragraph const * pParagraph,
             // XXX  numeric overflow (2x)
         // FIXME  If the vertical extends of the two cursors do not match, assume
         // nIndex is the last character on the line; the bounding box will then
-        // extend to m_rEnginge.GetMaxTextWidth():
+        // extend to m_rEngine.GetMaxTextWidth():
         ::sal_Int32 nWidth = (aLeft.Top() == aRight.Top()
                             && aLeft.Bottom() == aRight.Bottom())
             ? static_cast< ::sal_Int32 >(aRight.Left() - aLeft.Left())
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 19aa7ee634b0..fa772be9e199 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -171,7 +171,7 @@ namespace basegfx::utils
                     B2DCubicBezier aBezier;
                     aBezier.setStartPoint(rCandidate.getB2DPoint(0));
 
-                    // perf: try to avoid too many realloctions by guessing the result's pointcount
+                    // perf: try to avoid too many reallocations by guessing the result's pointcount
                     aRetval.reserve(nPointCount*4);
 
                     // add start point (always)
@@ -254,7 +254,7 @@ namespace basegfx::utils
                     B2DCubicBezier aBezier;
                     aBezier.setStartPoint(rCandidate.getB2DPoint(0));
 
-                    // perf: try to avoid too many realloctions by guessing the result's pointcount
+                    // perf: try to avoid too many reallocations by guessing the result's pointcount
                     aRetval.reserve(nPointCount*4);
 
                     // add start point (always)
diff --git a/basic/qa/vba_tests/partition.vb b/basic/qa/vba_tests/partition.vb
index d134a4227fbd..e4c2bda6743e 100644
--- a/basic/qa/vba_tests/partition.vb
+++ b/basic/qa/vba_tests/partition.vb
@@ -48,7 +48,7 @@ Function verify_testPartition() as String
     verify_testPartition = result
     Exit Function
 errorHandler:
-    TestLog_ASSERT (false), "verify_testPartion failed, hit error handler"
+    TestLog_ASSERT (false), "verify_testPartition failed, hit error handler"
 End Function
 
 Sub TestLog_ASSERT(assertion As Boolean, Optional testId As String, Optional testComment As String)
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index c9f34e90ae16..a2c1e165c8db 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1767,7 +1767,7 @@ bool StarBASIC::LoadData( SvStream& r, sal_uInt16 nVer )
         return false;
     }
     // #95459 Delete dialogs, otherwise endless recursion
-    // in SbxVarable::GetType() if dialogs are accessed
+    // in SbxVariable::GetType() if dialogs are accessed
     sal_uInt32 nObjCount = pObjs->Count32();
     std::unique_ptr<SbxVariable*[]> ppDeleteTab(new SbxVariable*[ nObjCount ]);
     sal_uInt32 nObj;
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 8ce98b6c3b48..f004cce017d8 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -1545,7 +1545,7 @@ static Any invokeAutomationMethod( const OUString& Name, Sequence< Any > const &
     return aRetAny;
 }
 
-// Debugging help method to readout the imlemented interfaces of an object
+// Debugging help method to readout the implemented interfaces of an object
 static OUString Impl_GetInterfaceInfo( const Reference< XInterface >& x, const Reference< XIdlClass >& xClass, sal_uInt16 nRekLevel )
 {
     Type aIfaceType = cppu::UnoType<XInterface>::get();
@@ -1734,7 +1734,7 @@ bool checkUnoObjectType(SbUnoObject& rUnoObj, const OUString& rClass)
     return bResult;
 }
 
-// Debugging help method to readout the imlemented interfaces of an object
+// Debugging help method to readout the implemented interfaces of an object
 static OUString Impl_GetSupportedInterfaces(SbUnoObject& rUnoObj)
 {
     Any aToInspectObj = rUnoObj.getUnoAny();


More information about the Libreoffice-commits mailing list