summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-23 20:39:25 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-23 22:19:26 +0200
commit650a836d00360ffd0b0c5a97bbaf9fe5513bbf32 (patch)
tree30048bda6fb27e7f51efa72eb33414b24edfc807 /oox
parent3782a36382af0609aed73caa8334b6f1c55dc93c (diff)
Fix typos
Change-Id: Iea3bd498b1c8934f37085bdf6df71b073e4a871c Reviewed-on: https://gerrit.libreoffice.org/76203 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'oox')
-rw-r--r--oox/README2
-rw-r--r--oox/inc/drawingml/chart/chartdrawingfragment.hxx2
-rw-r--r--oox/source/export/chartexport.cxx2
-rw-r--r--oox/source/export/preset-definitions-to-shape-types.pl2
-rw-r--r--oox/source/ole/axcontrol.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/oox/README b/oox/README
index d20d3349e789..7f127b617981 100644
--- a/oox/README
+++ b/oox/README
@@ -175,7 +175,7 @@ FUTURE WORK: because we have to make sure that all the roundtrips
like PPTX --> ODP --> PPTX work correctly and doesn't lose data.
the only problematic part is probably saving custom shapes (ie. not
presets) to PPTX. that part of code predates work on custom shapes
-and is unable to export general custom shapes yet. it will need a bit
+and is unable to export general custom shapes yet. It will need a bit
of work as LO has more complex equations than DrawingML. other parts
should work OK, PPTX --> ODP should work and don't lose any
data. presets should already survive PPTX --> ODP --> PPTX roundtrip
diff --git a/oox/inc/drawingml/chart/chartdrawingfragment.hxx b/oox/inc/drawingml/chart/chartdrawingfragment.hxx
index 9b49c35226d7..897ea60fb7a8 100644
--- a/oox/inc/drawingml/chart/chartdrawingfragment.hxx
+++ b/oox/inc/drawingml/chart/chartdrawingfragment.hxx
@@ -57,7 +57,7 @@ public:
/** Imports the absolute anchor size from the cdr:ext element. */
void importExt( const AttributeList& rAttribs );
- /** Sets an the relative anchor position from the cdr:from or cdr:to element. */
+ /** Sets the relative anchor position from the cdr:from or cdr:to element. */
void setPos( sal_Int32 nElement, sal_Int32 nParentContext, const OUString& rValue );
/** Calculates the resulting shape anchor in EMUs. */
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 1acf1795373c..dd9d19651e29 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -3884,7 +3884,7 @@ void ChartExport::exportView3D()
if(eChartType == chart::TYPEID_PIE)
{
/* In OOXML we get value in 0..90 range for pie chart X rotation , whereas we expect it to be in -90..90 range,
- so we conver that during import. It is modified in View3DConverter::convertFromModel()
+ so we convert that during import. It is modified in View3DConverter::convertFromModel()
here we convert it back to 0..90 as we received in import */
nRotationX += 90; // X rotation (map Chart2 [-179,180] to OOXML [0..90])
}
diff --git a/oox/source/export/preset-definitions-to-shape-types.pl b/oox/source/export/preset-definitions-to-shape-types.pl
index e36e97a808a9..16bf1cf6c61f 100644
--- a/oox/source/export/preset-definitions-to-shape-types.pl
+++ b/oox/source/export/preset-definitions-to-shape-types.pl
@@ -374,7 +374,7 @@ sub setup_variables()
);
}
-# Convert the (predefiend) value to a number
+# Convert the (predefined) value to a number
sub value( $ )
{
my ( $val ) = @_;
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx
index 02a6d1ce70bf..4532406af8e4 100644
--- a/oox/source/ole/axcontrol.cxx
+++ b/oox/source/ole/axcontrol.cxx
@@ -2394,7 +2394,7 @@ bool AxContainerModelBase::importBinaryModel( BinaryInputStream& rInStrm )
aReader.skipUndefinedProperty();
aReader.readIntProperty< sal_uInt32 >( mnBackColor );
aReader.readIntProperty< sal_uInt32 >( mnTextColor );
- aReader.skipIntProperty< sal_uInt32 >(); // next availbale control ID
+ aReader.skipIntProperty< sal_uInt32 >(); // next available control ID
aReader.skipUndefinedProperty();
aReader.skipUndefinedProperty();
aReader.readIntProperty< sal_uInt32 >( mnFlags );