Kaydet (Commit) 3764f743 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Samuel Mehrbrodt

Fix typos

Change-Id: Id27f5a357c1333dec5c24c4f5e0fdaed7a775774
Reviewed-on: https://gerrit.libreoffice.org/18963Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 6d623c9e
......@@ -749,8 +749,8 @@ void OStorage_Impl::CopyToStorage( const uno::Reference< embed::XStorage >& xDes
// uno::Reference< io::XInputStream > xRelInfoStream = GetRelInfoStreamForName( OUString() ); // own stream
// if ( xRelInfoStream.is() )
// {
// // Relations info stream is a writeonly property, introduced only to optimyze copying
// // Should be used carefuly since no check for stream consistency is done, and the stream must not stay locked
// // Relations info stream is a writeonly property, introduced only to optimize copying
// // Should be used carefully since no check for stream consistency is done, and the stream must not stay locked
// OUString aRelInfoString = "RelationsInfoStream";
// xPropSet->setPropertyValue( aRelInfoString, uno::makeAny( GetSeekableTempCopy( xRelInfoStream, m_xFactory ) ) );
......
......@@ -1052,7 +1052,7 @@ void ZipPackage::WriteContentTypes( ZipOutputStream& aZipOut, const vector< uno:
pEntry->nTime = ZipOutputStream::getCurrentDosTime();
// Convert vector into a uno::Sequence
// TODO/LATER: use Defaulst entries in future
// TODO/LATER: use Default entries in future
uno::Sequence< beans::StringPair > aDefaultsSequence;
uno::Sequence< beans::StringPair > aOverridesSequence( aManList.size() );
sal_Int32 nSeqLength = 0;
......
......@@ -167,8 +167,8 @@ public class OfficeProvider implements AppProvider
XMultiServiceFactory msf = connectOffice(cncstr);
// if the office is running and the office crashes while testing it could
// be usesfull to restart the office if possible and continuing the tests.
// Example: The UNO-API-Tests in the projects will be executed by calling
// be useful to restart the office if possible and continuing the tests.
// Example: the UNO-API-Tests in the projects will be executed by calling
// 'damke'. This connects to an existing office. If the office crashes
// it is useful to restart the office and continuing the tests.
if ((param.getBool(util.PropertyName.AUTO_RESTART)) && (msf != null))
......
......@@ -30,7 +30,7 @@ import util.utils;
/**
* Class collect information from input stream in
* background (sparate thread) and outputs it to
* background (separate thread) and outputs it to
* some log stream. I helps to avoid buffer overflow
* when output stream has small buffer size (e.g.
* in case when handling stdout from external
......
......@@ -28,7 +28,7 @@ import java.util.Iterator;
/**
* It collects some static helper functons to handle URLs.
* It collects some static helper functions to handle URLs.
* Sometimes it's necessary to convert URL from/to system paths.
* Or from string to strutural notations (e.g. com.sun.star.util.URL).
* And sometimes java had another notation then the office it has.
......
......@@ -33,7 +33,7 @@ import com.sun.star.uno.UnoRuntime;
* <p>There are some points that should be fulfilled in a subclass to work
* correctly in the multi-method framework:
*
* 1. each subclass schould define a public field named oObj of type tested
* 1. each subclass should define a public field named oObj of type tested
* by the subclass, e.g. 'public XText oObj;'. That field will be initialized
* by the MultiMethodTest code with the instance of the interface to test.
* In a case of service testing the field type should be XPropertySet.
......
......@@ -119,7 +119,7 @@ class SimpleStatus {
}
/**
* Get the ressult: passed or failed.
* Get the result: passed or failed.
*/
public String getStateString() {
if (state)
......
......@@ -56,7 +56,7 @@ public class Status extends SimpleStatus {
/**
* This is a factory method for creating a Status representing normal
* actibity termination.
* activity termination.
*
* @param state describes a test state (OK if state == true, FAILED
* otherwise).
......
......@@ -35,7 +35,7 @@ public class TestResult {
* and makes the state of the method completed. It's equal to
* tested(method, Status(result)) call.
*
* @param method reffers to the method which was tested
* @param method refers to the method which was tested
* @param result the result of testing the method
*
* @return the result value
......
......@@ -148,7 +148,7 @@ public abstract class DescGetter
{
if (debug)
{
System.out.println("Exception while closeing scenario");
System.out.println("Exception while closing scenario");
}
}
......@@ -179,4 +179,4 @@ public abstract class DescGetter
return namesList;
}
}
\ No newline at end of file
}
......@@ -94,7 +94,7 @@ public class CalcTools {
/**
*
* returns an <CODE>XSpreadsheet</CODE> from a Calc document.
* @param xSheetDoc the Calc docuent which contains the sheet
* @param xSheetDoc the Calc document which contains the sheet
* @param sheetNumber the number of the sheet to return
* @throws java.lang.Exception on any error an <CODE>java.lang.Exception</CODE> was thrown
* @return calc sheet
......
......@@ -151,7 +151,7 @@ public class UITools {
} else {
XAccessible xListBoxAccess = UnoRuntime.queryInterface(XAccessible.class, xListBox);
// if a List is not pulled to be open all entries are not visiblle, therefore the
// if a List is not pulled to be open all entries are not visible, therefore the
// boolean argument
xList =AccessibilityTools.getAccessibleObjectForRole(
xListBoxAccess, AccessibleRole.LIST, true);
......
......@@ -1024,7 +1024,7 @@ public class ValueChanger {
*
* @param val
* the value to be checked.
* @return <code>true</code> if the value is acssumed to be a structure.
* @return <code>true</code> if the value is assumed to be a structure.
*/
private static boolean isStructure(Object val) {
boolean result = true;
......
......@@ -128,7 +128,7 @@ public class DataSource
doc.storeAsURL( docURL );
}
// register the data soource
// register the data source
doing = "registering the data source at the database context";
dbContext.registerObject( _registrationName, m_dataSource );
}
......
......@@ -231,7 +231,7 @@ public class utils {
* "Temp" returns the temp folder of the office instance.
* @param msf a XMultiServiceFactory
* @param setting the name of the setting the value should be returned.
* For example "Temp" reutrns the temp folder of the current office instance.
* For example "Temp" returns the temp folder of the current office instance.
* @see com.sun.star.util.PathSettings
* @return the value as String
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment