summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-09-05 17:55:37 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-05 18:43:22 +0200
commit71740e630321f1cf12363995cdfc0a53fa2cd8cb (patch)
tree3327ea15c43de99095c8acec909fb2e37627ff22 /oox
parentad657dddd0b5f34a7fedde54b90d59d69513336d (diff)
Fix typos
Change-Id: Ibfff5af316a2c18b5735245caf5a27a562bc0f52 Reviewed-on: https://gerrit.libreoffice.org/78664 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/lineproperties.cxx4
-rw-r--r--oox/source/export/drawingml.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/lineproperties.cxx b/oox/source/drawingml/lineproperties.cxx
index d9a441d8f52d..adaafcf91f0c 100644
--- a/oox/source/drawingml/lineproperties.cxx
+++ b/oox/source/drawingml/lineproperties.cxx
@@ -84,7 +84,7 @@ void lclConvertPresetDash(LineDash& orLineDash, sal_Int32 nPresetDash)
}
/** Converts the passed custom dash to API dash. rCustomDash should not be empty.
- * We assume, that there exist only two lenght values and the distance is the same
+ * We assume, that there exist only two length values and the distance is the same
* for all dashes. Other kind of dash stop sequences cannot be represented, neither
* in model nor in ODF.
*/
@@ -443,7 +443,7 @@ void LineProperties::pushToPropMap( ShapePropertyMap& rPropMap,
drawing::LineStyle eLineStyle = (maLineFill.moFillType.get() == XML_noFill) ? drawing::LineStyle_NONE : drawing::LineStyle_SOLID;
// line width in 1/100mm
- sal_Int32 nLineWidth = getLineWidth(); // includes convertion from EMUs to 1/100mm
+ sal_Int32 nLineWidth = getLineWidth(); // includes conversion from EMUs to 1/100mm
rPropMap.setProperty( ShapeProperty::LineWidth, nLineWidth );
// create line dash from preset dash token or dash stop vector (not for invisible line)
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 2eafc6f32e24..0e49cfca4291 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -946,7 +946,7 @@ void DrawingML::WriteOutline( const Reference<XPropertySet>& rXPropSet, Referenc
if ( aLineDash.Dashes > 0 )
{
double fD = bIsRelative ? aLineDash.DashLen : aLineDash.DashLen * 100.0 / fLineWidth;
- // LO sets length to 0, if attribute is missing in ODF. Then a relataive length of 100% is intended.
+ // LO sets length to 0, if attribute is missing in ODF. Then a relative length of 100% is intended.
if (aLineDash.DashLen == 0)
fD = 100.0;
for( i = 0; i < aLineDash.Dashes; i ++ )