summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-04-05 22:00:33 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-04-05 23:44:14 +0200
commit0fafd7ff653e26ccafc5067d1387d72239de8d3f (patch)
tree50ecea88bbb3590be1a3024c276b6040f391dccd /oox
parent6453502fa8d3cc83e066c550d8df98facb1f4471 (diff)
Fix typos
Change-Id: Idcb10d0cc0759473e95e47afec7ed69853628612 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132587 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/diagram/datamodel.cxx2
-rw-r--r--oox/source/helper/propertymap.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/diagram/datamodel.cxx b/oox/source/drawingml/diagram/datamodel.cxx
index 30d7e2bb5f40..394266ae123d 100644
--- a/oox/source/drawingml/diagram/datamodel.cxx
+++ b/oox/source/drawingml/diagram/datamodel.cxx
@@ -107,7 +107,7 @@ void DiagramData::secureDataFromShapeToModelAfterDiagramImport()
// imported one. Report differences to allow extending the mechanism
// more easily.
#ifdef DBG_UTIL
- // The oiginal is pShapeCandidate, re-create potential new oox::drawingml::Shape
+ // The original is pShapeCandidate, re-create potential new oox::drawingml::Shape
// as aNew to be able to compare these
ShapePtr aNew(std::make_shared<Shape>());
restoreDataFromModelToShapeAfterReCreation(point, *aNew);
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index 608614441b21..232f4ee9fba9 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -228,7 +228,7 @@ sal_Int32 PropertyMap::getPropertyId( std::u16string_view sPropName )
{
// This may use a std::map to get faster from String to ID in the
// future, inside the [0..PROP_COUNT[ entries. Since it is currently
- // only used for Diagram re-creation I opted fo less mem usage here
+ // only used for Diagram re-creation I opted for less memory usage here
if(sPropName.empty())
return -1;