summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-03-13 12:41:36 +0100
committerJulien Nabet <serval2412@yahoo.fr>2022-03-13 19:17:37 +0100
commit34cd775646a7f21f0d2d40462ae716671bab67c9 (patch)
tree40d508482835f4c591fed3e517cf0c0af8230e59 /oox
parent36ad7bf558295a4b8474127b3c9bcc954f459bbe (diff)
Fix typos
Change-Id: I9f583937da2cf49fc9013d9e36d63fff312ccb92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131495 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/diagram/diagramhelper.cxx2
-rw-r--r--oox/source/drawingml/diagram/diagramhelper.hxx4
-rw-r--r--oox/source/drawingml/shape.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/drawingml/diagram/diagramhelper.cxx b/oox/source/drawingml/diagram/diagramhelper.cxx
index f3792b295f7e..b61c6b12994a 100644
--- a/oox/source/drawingml/diagram/diagramhelper.cxx
+++ b/oox/source/drawingml/diagram/diagramhelper.cxx
@@ -82,7 +82,7 @@ void AdvancedDiagramHelper::reLayout(SdrObjGroup& rTarget)
// For re-creation we need to use ::addShape functionality from the
// oox import filter since currently Shape import is very tightly
// coupled to Shape creation. It converts a oox::Shape representation
- // combined with an oox::Theme to incarrnated XShapes representing the
+ // combined with an oox::Theme to incarnated XShapes representing the
// Diagram.
// To use that functionality, we have to create a temporary filter
// (based on ShapeFilterBase). Problems are that this needs to know
diff --git a/oox/source/drawingml/diagram/diagramhelper.hxx b/oox/source/drawingml/diagram/diagramhelper.hxx
index 76dffdb88f5a..0c1240bdd4ba 100644
--- a/oox/source/drawingml/diagram/diagramhelper.hxx
+++ b/oox/source/drawingml/diagram/diagramhelper.hxx
@@ -30,12 +30,12 @@ class Diagram;
// Advanced DiagramHelper
//
-// This helper tries to hold all neccessary data to re-layout
+// This helper tries to hold all necessary data to re-layout
// all XShapes/SdrObjects of an already imported Diagram. The
// Diagram holds the SmarArt model data before it gets layouted,
// while Theme holds the oox Fill/Line/Style definitions to
// apply.
-// Re-Layouting (re-reating) is rather complex, for detailed
+// Re-Layouting (re-creating) is rather complex, for detailed
// information see ::reLayout implementation.
// This helper class may/should be extended to:
// - deliver representative data from the Diagram-Model
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 0192ff8aa3de..ac2ff8891add 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -205,7 +205,7 @@ void Shape::prepareDiagramHelper(
const std::shared_ptr< Diagram >& rDiagramPtr,
const std::shared_ptr<::oox::drawingml::Theme>& rTheme)
{
- // Prepare Diagam data collecting for this Shape
+ // Prepare Diagram data collecting for this Shape
if( nullptr == mpDiagramHelper && FRAMETYPE_DIAGRAM == meFrameType )
{
mpDiagramHelper = new AdvancedDiagramHelper(rDiagramPtr, rTheme, *this);