diff options
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/box2dtools.cxx | 4 | ||||
-rw-r--r-- | slideshow/source/inc/box2dtools.hxx | 8 |
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); |