Fix typos

Change-Id: Iea3bd498b1c8934f37085bdf6df71b073e4a871c
Reviewed-on: https://gerrit.libreoffice.org/76203
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
This commit is contained in:
Andrea Gelmini 2019-07-23 20:39:25 +02:00
parent 3782a36382
commit 650a836d00
20 changed files with 22 additions and 22 deletions

View file

@ -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;
}

View file

@ -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

View file

@ -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. */

View file

@ -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])
}

View file

@ -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 ) = @_;

View file

@ -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 );

View file

@ -271,7 +271,7 @@ ds_status evaluateScoreForDevice(ds_device& rDevice, std::unique_ptr<LibreOffice
}
else
{
/* Evaluating an Native CPU device */
/* Evaluating a Native CPU device */
SAL_INFO("opencl.device", "Device: \"CPU\" (Native) evaluation...");
sal_uInt64 kernelTime = tools::Time::GetMonotonicTicks();

View file

@ -56,7 +56,7 @@ public class TestHelper {
return false;
}
// get XTrucate implementation from output stream
// get XTruncate implementation from output stream
XTruncate xTruncate = (XTruncate) UnoRuntime.queryInterface( XTruncate.class, xOutput );
if ( xTruncate == null )
{

View file

@ -55,7 +55,7 @@ public class TestHelper {
return false;
}
// get XTrucate implementation from output stream
// get XTruncate implementation from output stream
XTruncate xTruncate = (XTruncate) UnoRuntime.queryInterface( XTruncate.class, xOutput );
if ( xTruncate == null )
{
@ -145,7 +145,7 @@ public class TestHelper {
return false;
}
// get XTrucate implementation from output stream
// get XTruncate implementation from output stream
XTruncate xTruncate = (XTruncate) UnoRuntime.queryInterface( XTruncate.class, xOutput );
if ( xTruncate == null )
{

View file

@ -150,7 +150,7 @@ public class DesktopTools
}
/**
* Returns the document type for the given XComponent of an document
* Returns the document type for the given XComponent of a document
* @param xComponent the document to query for its type
* @return possible:
* <ul>

View file

@ -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";

View file

@ -60,7 +60,7 @@ import lib.TestEnvironment;
* to find other frame than itself.</li>
*
* <li> <code>'Desktop'</code> (of type <code>Object</code>):
* if exsists, then desktop component is tested</li>
* if exists, then desktop component is tested</li>
* </ul> <p>
* Test is <b> NOT </b> multithread compliant. <p>
* @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. <p>
* Test calls the method. Remembered old creator is restored at the end. <p>
* Has <b> OK </b> status if the method successfully set new value to (XFrame)
* oObj object.
*/

View file

@ -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 ;

View file

@ -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.<p>
* Has <b> OK </b> 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;

View file

@ -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.<p>
*
* Has <b>OK</b> status if comparings of equal substrings

View file

@ -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"));

View file

@ -40,7 +40,7 @@ public class _XResultSetAccess extends MultiMethodTest {
/**
* tries to create a ResultSet for the Object</br>
* an XResultSet is returned.</br>
* 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() {

View file

@ -40,7 +40,7 @@ public class _XResultSetMetaDataSupplier extends MultiMethodTest {
/**
* Tries to get the ResultSetMetaData of the Object</br>
* an XResultSetMetaData is returned.</br>
* 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() {

View file

@ -35,7 +35,7 @@ import com.sun.star.ucb.XCachedContentResultSetFactory;
* <ul>
* <li> <code>'CachedContentResultSetStub'</code> (of type
* <code>com.sun.star.sdbc.XResultSet</code>):
* this must be an imlementation of <code>
* this must be an implementation of <code>
* com.sun.star.ucb.CachedContentResultSetStub</code> service.</li>
* <ul> <p>
* Test is <b> NOT </b> multithread compliant. <p>

View file

@ -35,7 +35,7 @@ import com.sun.star.ucb.XCachedContentResultSetStubFactory;
* <ul>
* <li> <code>'ContentResultSet'</code> (of type
* <code>com.sun.star.sdbc.XResultSet</code>):
* this must be an imlementation of <code>
* this must be an implementation of <code>
* com.sun.star.ucb.ContentResultSet</code> service.</li>
* <ul> <p>
* Test is <b> NOT </b> multithread compliant. <p>