summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-17 17:41:07 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-17 19:42:42 +0200
commitd7484b08c636801b474582c1e940dc8e497b74e8 (patch)
treef12af51b7e91c2b4aa5c2d5754011d37e275bcc9
parentbda18edf18f30cabb1c6589c59afc77f38541220 (diff)
Fix typos
Change-Id: Id31299912b822baf9eecbb03cba53339f0528ae8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100867 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx4
-rw-r--r--basic/qa/vba_tests/partition.vb2
-rw-r--r--basic/source/classes/sb.cxx2
-rw-r--r--basic/source/classes/sbunoobj.cxx4
5 files changed, 7 insertions, 7 deletions
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();