From 650a836d00360ffd0b0c5a97bbaf9fe5513bbf32 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 23 Jul 2019 20:39:25 +0200 Subject: [PATCH] Fix typos Change-Id: Iea3bd498b1c8934f37085bdf6df71b073e4a871c Reviewed-on: https://gerrit.libreoffice.org/76203 Tested-by: Jenkins Reviewed-by: Andrea Gelmini --- onlineupdate/source/libmar/src/mar_read.c | 2 +- oox/README | 2 +- oox/inc/drawingml/chart/chartdrawingfragment.hxx | 2 +- oox/source/export/chartexport.cxx | 2 +- oox/source/export/preset-definitions-to-shape-types.pl | 2 +- oox/source/ole/axcontrol.cxx | 2 +- opencl/source/opencl_device.cxx | 2 +- package/qa/ofopxmlstorages/TestHelper.java | 2 +- package/qa/storages/TestHelper.java | 4 ++-- qadevOOo/runner/util/DesktopTools.java | 2 +- .../java/ifc/form/validation/_XValidatableFormComponent.java | 2 +- qadevOOo/tests/java/ifc/frame/_XFrame.java | 4 ++-- qadevOOo/tests/java/ifc/frame/_XFrameLoader.java | 2 +- qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java | 2 +- qadevOOo/tests/java/ifc/i18n/_XTransliteration.java | 2 +- qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java | 2 +- qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java | 2 +- qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java | 2 +- .../tests/java/ifc/ucb/_XCachedContentResultSetFactory.java | 2 +- .../java/ifc/ucb/_XCachedContentResultSetStubFactory.java | 2 +- 20 files changed, 22 insertions(+), 22 deletions(-) diff --git a/onlineupdate/source/libmar/src/mar_read.c b/onlineupdate/source/libmar/src/mar_read.c index 2815d12e7ccb..2a6238ca23fc 100644 --- a/onlineupdate/source/libmar/src/mar_read.c +++ b/onlineupdate/source/libmar/src/mar_read.c @@ -269,7 +269,7 @@ int get_mar_file_info_fp(FILE *fp, /* Skip to the first index entry past the index size field We do it in 2 calls because offsetToIndex + sizeof(uint32_t) - could oerflow in theory. */ + could overflow in theory. */ if (fseek(fp, offsetToIndex, SEEK_SET)) { return -1; } 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 ); diff --git a/opencl/source/opencl_device.cxx b/opencl/source/opencl_device.cxx index d6b59729c14a..5350d737f9fb 100644 --- a/opencl/source/opencl_device.cxx +++ b/opencl/source/opencl_device.cxx @@ -271,7 +271,7 @@ ds_status evaluateScoreForDevice(ds_device& rDevice, std::unique_ptr diff --git a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java index ebc0d985a8e1..cb1dd831a5c9 100644 --- a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java +++ b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java @@ -190,7 +190,7 @@ public class _XValidatableFormComponent extends MultiMethodTest String bound = sb.toString(); // endfor - //get a array of bound properties + //get an array of bound properties if (bound.equals("")) { bound = "none"; diff --git a/qadevOOo/tests/java/ifc/frame/_XFrame.java b/qadevOOo/tests/java/ifc/frame/_XFrame.java index c2e3e815ea0c..9536cdb2b6c1 100644 --- a/qadevOOo/tests/java/ifc/frame/_XFrame.java +++ b/qadevOOo/tests/java/ifc/frame/_XFrame.java @@ -60,7 +60,7 @@ import lib.TestEnvironment; * to find other frame than itself. * *
  • 'Desktop' (of type Object): -* if exsists, then desktop component is tested
  • +* if exists, then desktop component is tested *

    * Test is NOT multithread compliant.

    * @see com.sun.star.frame.XFrame @@ -433,7 +433,7 @@ public class _XFrame extends MultiMethodTest { /** - * Test calls the method. Remembered old creater is restored at the end.

    + * Test calls the method. Remembered old creator is restored at the end.

    * Has OK status if the method successfully set new value to (XFrame) * oObj object. */ diff --git a/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java index b4a468b1df49..987605480ca8 100644 --- a/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java +++ b/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java @@ -65,7 +65,7 @@ public class _XFrameLoader extends MultiMethodTest { private PropertyValue[] args = new PropertyValue[0] ; /** - * Implementation of load listener which geristers all its calls. + * Implementation of load listener which registers all its calls. */ protected static class TestListener implements XLoadEventListener { public boolean finished = false ; diff --git a/qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java b/qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java index 4c342310a4b6..5adddb1892af 100644 --- a/qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java +++ b/qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java @@ -88,7 +88,7 @@ public class _XNumberFormatCode extends MultiMethodTest { * Test calls the method twice for each locale with two different arguments. * After every call result is checked.

    * Has OK status if both times returned structure's field 'Code' - * does not equal to a empty string. + * does not equal to an empty string. */ public void _getFormatCode() { boolean res = true; diff --git a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java index 521a111d0596..d041d425dbbe 100644 --- a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java +++ b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java @@ -273,7 +273,7 @@ public class _XTransliteration extends MultiMethodTest { /** * Test performed for sets of equal substrings, not equal - * substrings, and with out of bounds offset and length + * substrings, and without of bounds offset and length * parameters.

    * * Has OK status if comparings of equal substrings diff --git a/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java b/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java index 4264e68747d8..06910de2e520 100644 --- a/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java +++ b/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java @@ -76,7 +76,7 @@ public class _XSingleServiceFactory extends MultiMethodTest { */ public void _createInstance() { // for some objects the method should fail. - // If thi is required the property is set to true. + // If this is required the property is set to true. String negStr = (String)tEnv.getObjRelation( "XSingleServiceFactory.createInstance.negative"); boolean negative = (negStr != null && negStr.equalsIgnoreCase("true")); diff --git a/qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java b/qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java index 3c078eec040d..f689c6cbfdca 100644 --- a/qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java +++ b/qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java @@ -40,7 +40,7 @@ public class _XResultSetAccess extends MultiMethodTest { /** * tries to create a ResultSet for the Object
    * an XResultSet is returned.
    - * The test is OK if an not null ResultSet is returned + * The test is OK if a not null ResultSet is returned */ public void _createResultSet() { diff --git a/qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java b/qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java index fea222d2cbd6..0a721b368e6e 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java @@ -40,7 +40,7 @@ public class _XResultSetMetaDataSupplier extends MultiMethodTest { /** * Tries to get the ResultSetMetaData of the Object
    * an XResultSetMetaData is returned.
    - * The test is OK if an not null ResultSetMetaData is returned + * The test is OK if a not null ResultSetMetaData is returned */ public void _getMetaData() { diff --git a/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetFactory.java b/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetFactory.java index 5196024f5353..b958e0c59b7c 100644 --- a/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetFactory.java +++ b/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetFactory.java @@ -35,7 +35,7 @@ import com.sun.star.ucb.XCachedContentResultSetFactory; *

      *
    • 'CachedContentResultSetStub' (of type * com.sun.star.sdbc.XResultSet): -* this must be an imlementation of +* this must be an implementation of * com.sun.star.ucb.CachedContentResultSetStub service.
    • *

        * Test is NOT multithread compliant.

        diff --git a/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetStubFactory.java b/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetStubFactory.java index f8204fe23583..bbb66d1943d8 100644 --- a/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetStubFactory.java +++ b/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetStubFactory.java @@ -35,7 +35,7 @@ import com.sun.star.ucb.XCachedContentResultSetStubFactory; *

          *
        • 'ContentResultSet' (of type * com.sun.star.sdbc.XResultSet): -* this must be an imlementation of +* this must be an implementation of * com.sun.star.ucb.ContentResultSet service.
        • *

            * Test is NOT multithread compliant.