Fix typos
Change-Id: Ic2f0c9f4bb0da72c3fed08cdbbc68ea102c39a38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209485 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
7d587629d9
commit
6152699835
@@ -179,7 +179,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
|
||||
com.sun.star.beans.NamedValue aDispatchResult = null;
|
||||
com.sun.star.beans.NamedValue aSaveRequest = null;
|
||||
|
||||
// SaveArguments will be made everytimes!
|
||||
// SaveArguments will be made every time!
|
||||
c = 1;
|
||||
|
||||
if (lJobConfig==null)
|
||||
|
||||
+1
-1
@@ -221,7 +221,7 @@ void useCalc()
|
||||
|
||||
void useDraw()
|
||||
{
|
||||
//create new draw document and insert ractangle shape
|
||||
//create new draw document and insert rectangle shape
|
||||
Reference<XComponent> xDrawComponent = newDocComponent("sdraw");
|
||||
Reference<XDrawPagesSupplier> xDrawPagesSupplier(xDrawComponent, UNO_QUERY_THROW);
|
||||
|
||||
|
||||
+1
-1
@@ -259,7 +259,7 @@ public class HelloTextTableShape {
|
||||
|
||||
protected void useDraw() throws java.lang.Exception {
|
||||
try {
|
||||
//create new draw document and insert ractangle shape
|
||||
//create new draw document and insert rectangle shape
|
||||
XComponent xDrawComponent = newDocComponent("sdraw");
|
||||
XDrawPagesSupplier xDrawPagesSupplier =
|
||||
UnoRuntime.queryInterface(
|
||||
|
||||
@@ -157,7 +157,7 @@ public class DocumentHelper
|
||||
/* ------------------------------------------------------------------ */
|
||||
/** creates a form which is a sibling of the given form
|
||||
@param aForm
|
||||
A sinbling of the to be created form.
|
||||
A sibling of the to be created form.
|
||||
|
||||
@param sInitialName
|
||||
The initial name of the form. May be null, in this case the default (which
|
||||
|
||||
@@ -121,7 +121,7 @@ public class CustomizeView extends JPanel
|
||||
|
||||
/**
|
||||
* set new frame for this view
|
||||
* We start listening for frame action/status and click events instandly.
|
||||
* We start listening for frame action/status and click events instantly.
|
||||
* If an event occurs, we use it to synchronize our controls
|
||||
* with states of a (maybe) new document view of this frame.
|
||||
*
|
||||
|
||||
@@ -58,7 +58,7 @@ import java.net.*;
|
||||
*
|
||||
* There exist some other helper functionality too, which
|
||||
* doesn't use or demonstrate the office api:
|
||||
* (a) getting file names by using a file chosser
|
||||
* (a) getting file names by using a file chooser
|
||||
*/
|
||||
public class FunctionHelper
|
||||
{
|
||||
@@ -881,7 +881,7 @@ public class FunctionHelper
|
||||
int nDecision = JFileChooser.CANCEL_OPTION;
|
||||
JFileChooser aChooser = null;
|
||||
|
||||
// set last visited directory on new file chosser
|
||||
// set last visited directory on new file chooser
|
||||
// (if this information is available)
|
||||
if( maLastDir==null )
|
||||
aChooser = new JFileChooser();
|
||||
|
||||
@@ -349,7 +349,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
|
||||
* These functions are used to build a list of interceptor objects
|
||||
* connected in both ways.
|
||||
* Searching for a right interceptor is made by forwarding any request
|
||||
* from toppest master to lowest slave of this hierarchy.
|
||||
* from topmost master to lowest slave of this hierarchy.
|
||||
* If an interceptor wish to handle the request he can break that
|
||||
* and return himself as a dispatcher.
|
||||
*/
|
||||
|
||||
@@ -55,7 +55,7 @@ import com.sun.star.uno.UnoRuntime;
|
||||
*
|
||||
* Further we are frame action listener too.
|
||||
* So we can update our status listener connections and
|
||||
* internal holded dispatch object automatically.
|
||||
* internal held dispatch object automatically.
|
||||
*
|
||||
* Another reason for such extra class for listening:
|
||||
* Most listener callbacks are asynchronous [one-way] requests.
|
||||
|
||||
@@ -214,7 +214,7 @@ public class SampleHyphenator extends ComponentBase implements
|
||||
return null;
|
||||
|
||||
// linguistic is currently not allowed to throw exceptions
|
||||
// thus we return null fwhich means 'word cannot be hyphenated'
|
||||
// thus we return null which means 'word cannot be hyphenated'
|
||||
if (!hasLocale( aLocale ))
|
||||
return null;
|
||||
|
||||
|
||||
@@ -315,7 +315,7 @@ public class SampleSpellChecker extends ComponentBase implements
|
||||
return null;
|
||||
|
||||
// linguistic is currently not allowed to throw exceptions
|
||||
// thus we return null fwhich means 'word cannot be spelled'
|
||||
// thus we return null which means 'word cannot be spelled'
|
||||
if (!hasLocale( aLocale ))
|
||||
return null;
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ public class SampleThesaurus extends ComponentBase implements
|
||||
return null;
|
||||
|
||||
// linguistic is currently not allowed to throw exceptions
|
||||
// thus we return null fwhich means 'word cannot be looked up'
|
||||
// thus we return null which means 'word cannot be looked up'
|
||||
if (!hasLocale( aLocale ))
|
||||
return null;
|
||||
|
||||
|
||||
@@ -856,7 +856,7 @@ public class TextDocuments {
|
||||
// We want the background to be light blue
|
||||
xTableProps.setPropertyValue( "BackColor", Integer.valueOf(13421823));
|
||||
|
||||
// Inser the table into the document
|
||||
// Insert the table into the document
|
||||
mxDocText.insertTextContent( mxDocCursor, xTable, false);
|
||||
|
||||
// Get an XIndexAccess to all table rows
|
||||
|
||||
@@ -94,7 +94,7 @@ public class DataStreamComposer {
|
||||
* Write the document data stream of a document content.
|
||||
*
|
||||
*@param sourceURL Source URL
|
||||
*@return true if data stream successfully seted, false otherwise
|
||||
*@return true if data stream successfully set, false otherwise
|
||||
*/
|
||||
public boolean setDataStream( String sourceURL )
|
||||
throws com.sun.star.ucb.CommandAbortedException,
|
||||
@@ -116,7 +116,7 @@ public class DataStreamComposer {
|
||||
/**
|
||||
* Write the document data stream of a document content...
|
||||
*
|
||||
*@return boolean Returns true if data stream successfully seted, false otherwise
|
||||
*@return boolean Returns true if data stream successfully set, false otherwise
|
||||
*/
|
||||
public boolean setDataStream( XInputStream stream )
|
||||
throws com.sun.star.ucb.CommandAbortedException, com.sun.star.uno.Exception {
|
||||
|
||||
@@ -83,7 +83,7 @@ public class PropertiesComposer {
|
||||
* See Constructor.
|
||||
*
|
||||
*@return Object[] Returns null or instance object of com.sun.star.uno.Any
|
||||
* if values successfully seted, properties otherwise
|
||||
* if values successfully set, properties otherwise
|
||||
*/
|
||||
public Object[] setProperties()
|
||||
throws com.sun.star.ucb.CommandAbortedException, com.sun.star.uno.Exception {
|
||||
@@ -96,7 +96,7 @@ public class PropertiesComposer {
|
||||
* Set values of the properties.
|
||||
*
|
||||
*@return Object[] Returns null or instance object of com.sun.star.uno.Any
|
||||
* if values successfully seted, properties otherwise
|
||||
* if values successfully set, properties otherwise
|
||||
*/
|
||||
public Object[] setProperties( ArrayList<String> properties, ArrayList<String> propertiesValues )
|
||||
throws com.sun.star.ucb.CommandAbortedException, com.sun.star.uno.Exception {
|
||||
|
||||
@@ -252,7 +252,7 @@ void SAL_CALL BaseDispatch::dispatch( const URL& aURL, const Sequence < Property
|
||||
}
|
||||
}
|
||||
|
||||
// create new URL to address the combox box
|
||||
// create a new URL to address the combobox
|
||||
URL aCmdURL;
|
||||
aCmdURL.Path = "ComboboxCmd";
|
||||
aCmdURL.Protocol = "vnd.demo.complextoolbarcontrols.demoaddon:";
|
||||
|
||||
@@ -57,7 +57,7 @@ public class MinimalComponent {
|
||||
private static final String __serviceName =
|
||||
"org.openoffice.MinimalComponent";
|
||||
|
||||
/** The initial component contextr, that gives access to
|
||||
/** The initial component context, that gives access to
|
||||
* the service manager, supported singletons, ...
|
||||
* It's often later used
|
||||
*/
|
||||
|
||||
@@ -82,7 +82,7 @@ public class ToDo {
|
||||
*/
|
||||
private static final String __serviceName = "org.openoffice.ToDo";
|
||||
|
||||
/** The initial component contextr, that gives access to
|
||||
/** The initial component context, that gives access to
|
||||
* the service manager, supported singletons, ...
|
||||
* It's often later used
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user