summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 19:37:07 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-01 08:17:08 +0200
commit09619872fe0c0d677006bcf4e9a8febe2978d242 (patch)
tree777ec44e5c06e8d64c6f4abc9f551b511e9b4363 /slideshow/source
parent1d6e919046ed353a9d9d86bb9f0332da2e9dea4d (diff)
Fix typos
Change-Id: Ieff77be89ee8505b8241234f6dbb7507256dbc4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101757 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/box2dtools.cxx4
-rw-r--r--slideshow/source/inc/box2dtools.hxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/slideshow/source/engine/box2dtools.cxx b/slideshow/source/engine/box2dtools.cxx
index 1cc69b53632a..e863616b2187 100644
--- a/slideshow/source/engine/box2dtools.cxx
+++ b/slideshow/source/engine/box2dtools.cxx
@@ -408,7 +408,7 @@ void box2DWorld::initateAllShapesAsStaticBodies(
SdrObject* pTemp = SdrObject::getSdrObjectFromXShape(pShape->getXShape());
if (pTemp && pTemp->IsGroupObject())
{
- // if it is a group object iterate over it's childs and flag them
+ // if it is a group object iterate over its children and flag them
SdrObjList* aObjList = pTemp->GetSubList();
const size_t nObjCount(aObjList->GetObjCount());
@@ -614,7 +614,7 @@ double box2DWorld::stepAmount(const double fPassedTime, const float fTimeStep,
// that the updates can be processed using that value
double fTimeSteppedThrough = fTimeStep * nStepAmount;
- // do the updates required to simulate other animaton effects going in parallel
+ // do the updates required to simulate other animation effects going in parallel
processUpdateQueue(fTimeSteppedThrough);
if (!mbAlreadyStepped)
diff --git a/slideshow/source/inc/box2dtools.hxx b/slideshow/source/inc/box2dtools.hxx
index 0f6707fbd7c6..c17fb1648a51 100644
--- a/slideshow/source/inc/box2dtools.hxx
+++ b/slideshow/source/inc/box2dtools.hxx
@@ -299,7 +299,7 @@ public:
*/
Box2DBodySharedPtr makeShapeStatic(const slideshow::internal::ShapeSharedPtr& pShape);
- /** Create a static body that represeted by the shape's geometry
+ /** Create a static body that is represented by the shape's geometry
@return pointer to the box2d body
*/
@@ -325,20 +325,20 @@ public:
const ::basegfx::B2DVector& rVelocity,
const int nDelayForSteps = 0);
- /// Queue an appropraite update for the animation effect that is in parallel with a physics animation
+ /// Queue an appropriate update for the animation effect that is in parallel with a physics animation
void
queueShapeAnimationUpdate(const css::uno::Reference<css::drawing::XShape>& xShape,
const slideshow::internal::ShapeAttributeLayerSharedPtr& pAttrLayer,
const slideshow::internal::AttributeType eAttrType,
const bool bIsFirstUpdate);
- /// Queue an appropraite update for a path animation that is in parallel with a physics animation
+ /// Queue an appropriate update for a path animation that is in parallel with a physics animation
void queueShapePathAnimationUpdate(
const css::uno::Reference<com::sun::star::drawing::XShape>& xShape,
const slideshow::internal::ShapeAttributeLayerSharedPtr& pAttrLayer,
const bool bIsFirstUpdate);
- /// Queue an appropraite update for the animation effect that just ended
+ /// Queue an appropriate update for the animation effect that just ended
void queueShapeAnimationEndUpdate(const css::uno::Reference<css::drawing::XShape>& xShape,
const slideshow::internal::AttributeType eAttrType);