diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-01-10 14:17:20 +0000 |
commit | 64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch) | |
tree | 772fc0f308549b9416fbcb06bce2bf0e0f5809cc /odk | |
parent | d61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff) |
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'odk')
22 files changed, 48 insertions, 48 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/DataAwareness.java b/odk/examples/DevelopersGuide/Forms/DataAwareness.java index a040646c8ffe..a4b2da41b4c0 100644 --- a/odk/examples/DevelopersGuide/Forms/DataAwareness.java +++ b/odk/examples/DevelopersGuide/Forms/DataAwareness.java @@ -382,7 +382,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan /** checks if a given table exists. <p>The check is made using a SELECT statement, so even if the connection - is a n SDB-level connection, which may filter tables in it's table + is a n SDB-level connection, which may filter tables in its table supplier, the result may be reliable ....</p> */ protected boolean existsInvisibleTable( XConnection xConn, String sTableName ) throws java.lang.Exception diff --git a/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java b/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java index 148eecd2f91e..41afc0a76986 100644 --- a/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java +++ b/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java @@ -89,7 +89,7 @@ class DocumentViewHelper // go get the current view XController xController = get( XController.class ); - // go get the dispatch provider of it's frame + // go get the dispatch provider of its frame XDispatchProvider xProvider = UnoRuntime.queryInterface( XDispatchProvider.class, xController.getFrame() ); if ( null != xProvider ) diff --git a/odk/examples/DevelopersGuide/Forms/FormLayer.java b/odk/examples/DevelopersGuide/Forms/FormLayer.java index 6b049a2e5324..7faf553f5d89 100644 --- a/odk/examples/DevelopersGuide/Forms/FormLayer.java +++ b/odk/examples/DevelopersGuide/Forms/FormLayer.java @@ -189,7 +189,7 @@ public class FormLayer // insert the text field control XPropertySet xFieldModel = createControlAndShape( sControlType, nXPos + 26, nYPos, 40, nHeight ); xFieldModel.setPropertyValue( "DataField", sFieldName ); - // knit it to it's label component + // knit it to its label component xFieldModel.setPropertyValue( "LabelControl", xLabelModel ); // some names, so later on we can find them diff --git a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java index 1b1157b91c1e..8b4c451873dc 100644 --- a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java +++ b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java @@ -97,7 +97,7 @@ class UniqueColumnValue @returns a String which can be used as statement to retrieve a unique value for the given column. - The result set resulting from such a execution contains the value in it's first column. + The result set resulting from such a execution contains the value in its first column. */ private String composeUniqueyKeyStatement( XPropertySet xForm, String sFieldName ) throws com.sun.star.uno.Exception { diff --git a/odk/examples/DevelopersGuide/Forms/SalesFilter.java b/odk/examples/DevelopersGuide/Forms/SalesFilter.java index 412b46a098ef..26b7ba8842a5 100644 --- a/odk/examples/DevelopersGuide/Forms/SalesFilter.java +++ b/odk/examples/DevelopersGuide/Forms/SalesFilter.java @@ -455,7 +455,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis public boolean approveReset( EventObject aEvent ) throws com.sun.star.uno.RuntimeException { return false; - // do not allow the date field to be reset - it would set it's content + // do not allow the date field to be reset - it would set its content // to the current date // Note that another possible solution would be to wait for the resetted // event and correct the value there diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java index 6f0f96453fd5..4e968116284c 100644 --- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java +++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java @@ -1339,7 +1339,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis } } - /** + /* * To fully understand the example one has to be aware that the passed ???Index??? parameter * refers to the position of the roadmap item in the roadmapmodel container * whereas the variable ???_ID??? directly references to a certain step of dialog. diff --git a/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java b/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java index 2fa3b065e339..e218f4f2c99e 100644 --- a/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java +++ b/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java @@ -39,7 +39,7 @@ import javax.swing.filechooser.*; import javax.swing.*; import java.io.*; -/** A simple Applet that contains the SimpleBean. +/* A simple Applet that contains the SimpleBean. * * This applet is a sample implementation of the * OpenOffice.org bean. diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java index c501396e3895..5fcf04772506 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java @@ -161,7 +161,7 @@ public class CustomizeView extends JPanel - /** + /* * react for click events of the used check boxes * We use our internal set dispatch objects to * call it. This calls toogle the menu/object- or toolbar. diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java index 639dfe2042e6..a032426fd977 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java @@ -339,7 +339,7 @@ public class DocumentView extends JFrame maInterceptor = null; // close the frame and his document - // Relaesing of our listener connections for disposing() + // Releasing of our listener connections for disposing() // will be forced automatically then. Because the frame // will call us back ... if (mxFrame!=null) diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java index 718e23571b75..8946890404a5 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java @@ -405,7 +405,7 @@ public class FunctionHelper { // "createInstance()" method of used service manager can throw it. // If it occurred during creation of desktop service the frame already was created. - // Free it by decresing his refcount. Changes on the desktop tree couldn't exist. + // Free it by decreasing his refcount. Changes on the desktop tree couldn't exist. // Without the desktop service that wasn't possible. So no further rollbacks must follow. if(xFrame!=null) { @@ -741,7 +741,7 @@ public class FunctionHelper - /** + /* * Try to close the frame instead of the document. * It shows the possible interface to do so. * diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java index 21f3e6704a55..4427d0fa1655 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java @@ -1,4 +1,4 @@ -/************************************************************************* +/* * * The Contents of this file are made available subject to the terms of * the BSD license. @@ -30,7 +30,7 @@ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - *************************************************************************/ + */ // Imports @@ -41,7 +41,7 @@ import com.sun.star.uno.UnoRuntime; // Implementation -/** +/* * This class can be used to intercept dispatched URL's * on any frame used in this demo application. * It intercept all URL's which try to create a new empty frame. @@ -75,7 +75,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * @member m_xMaster use this interceptor if he doesn't handle queried dispatch request * @member m_xSlave we can forward all unhandled requests to this slave interceptor * @member m_xFrame intercepted frame @@ -90,7 +90,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * ctor * Initialize the new interceptor. Given frame reference can be used to * register this interceptor on it automatically later. @@ -112,7 +112,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * start working as frame action listener really. * We will be frame action listener here. In case * we get a frame action which indicates, that we should @@ -141,7 +141,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * In case we got an oneway listener callback - we had to use the office * asynchronous then. This method is the callback from the started thread * (started inside the original oneway method). We found all parameters of @@ -189,7 +189,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * callback for frame action events * We use it to update our interception. Because if a new component was loaded into * the frame or another interceptor was registered, we should refresh our connection @@ -244,7 +244,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * Indicates using of us as an interceptor. * Now we have to react for the requests, we are registered. * That means: load new empty documents - triggered by the new menu of the office. @@ -283,7 +283,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * Internal callback for frame action events, triggered by the used * OnewayExecutor thread we started in frameAction(). * We use it to update our interception on the internal saved frame. @@ -343,7 +343,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * Implementation of interface XDispatchProviderInterceptor * These functions are used to build a list of interceptor objects * connected in both ways. @@ -392,7 +392,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * Implementation of interface XDispatchProvider * These functions are called from our master if he willn't handle the outstanding request. * Given parameter should be checked if they are right for us. If it's true, the returned @@ -480,7 +480,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * This method is called if this interceptor "wins the request". * We intercepted creation of new frames and loading of empty documents. * Do it now. @@ -521,7 +521,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * Notification of status listener isn't guaranteed (instead of listener on XNotifyingDispatch interface). * So this interceptor doesn't support that really... */ @@ -552,7 +552,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * Implements (optional!) optimization for interceptor mechanism. * Any interceptor which provides this special interface is called automatically * at registration time on this method. Returned URL's will be used to @@ -569,7 +569,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * This class listen on the intercepted frame to free all used resources on closing. * We forget the reference to the frame only here. Deregistration * isn't necessary here - because this frame dies and wish to be forgotten. @@ -594,7 +594,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, - /** + /* * If this java application shutdown - we must cancel all current existing * listener connections. Otherwhise the office will run into some * DisposedExceptions if it tries to use these forgotten listener references. @@ -626,7 +626,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, // it's a good idea to cancel listening for frame action events // before(!) we deregister us as an interceptor. - // Because registration and deregistratio nof interceptor objects + // Because registration and deregistration of interceptor objects // will force sending of frame action events...! if (bIsActionListener) xFrame.removeFrameActionListener(this); diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java index 0ec1d70491d2..a6bafdddff15 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java @@ -52,7 +52,7 @@ public class OfficeConnect /** * At first call we create static connection object and open connection to an - * office - anew offic einstance is started if necessary + * office - a new office instance is started if necessary * Then - and for all further requests we return these static connection member. */ public static synchronized void createConnection() diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java index b78bf869920a..892729afc1bb 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java @@ -202,7 +202,7 @@ public class StatusView extends JPanel - /** + /* * Set new frame for this view and start listening for events immediately. * We create one status listener for every control we wish to update. * And because the environment of the frame can be changed - these diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java index 5dd46da0e68e..11c9fb274cc1 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java @@ -212,7 +212,7 @@ public class ViewContainer extends Thread break; aListener.shutdown(); - // May this listener has dergeistered himself. + // May this listener has deregistered himself. // But if not we must do it for him. Our own // method "removeListener()" ignore requests for // already gone listener objects. diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx index 819da9dd6179..8f126105e36d 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx @@ -196,7 +196,7 @@ sal_Bool XFlatXml::exporter( // read source data // we are especially interested in the output stream // since that is where our xml-writer will push the data - // from it's data-source interface + // from its data-source interface OUString aName, sURL; Reference<XOutputStream> rOutputStream; sal_Int32 nLength = aSourceData.getLength(); diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java index 7db1b7803f3c..a8ffb57cda92 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java @@ -241,7 +241,7 @@ public class LinguisticExamples else { if (xHyphWord.isAlternativeSpelling()) - System.out.println( "alternative spelling detectetd!" ); + System.out.println( "alternative spelling detected!" ); System.out.println( "valid hyphenation pos found at " + xHyphWord.getHyphenationPos() + " in " + xHyphWord.getWord() ); diff --git a/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_java/Makefile b/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_java/Makefile index 6ba1c78e0138..819a610421d2 100644 --- a/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_java/Makefile +++ b/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_java/Makefile @@ -79,7 +79,7 @@ SimpleBootstrapJavaExample : $(COMPONENT_JAR) @echo -------------------------------------------------------------------------------- # Setting the optional system property "com.sun.star.lib.loader.unopath" to the office -# program path ensures that the conmfigured SDK office is used. If the system property +# program path ensures that the configured SDK office is used. If the system property # is not specified, the default office installation is used. %.run: $(COMPONENT_JAR) $(SDK_JAVA) -Dcom.sun.star.lib.loader.unopath="$(OFFICE_PROGRAM_PATH)" -jar $(COMPONENT_JAR) diff --git a/odk/examples/DevelopersGuide/Spreadsheet/DataPilotReadme.txt b/odk/examples/DevelopersGuide/Spreadsheet/DataPilotReadme.txt index 0dcd38420fbb..7876b6a339a4 100644 --- a/odk/examples/DevelopersGuide/Spreadsheet/DataPilotReadme.txt +++ b/odk/examples/DevelopersGuide/Spreadsheet/DataPilotReadme.txt @@ -24,7 +24,7 @@ component. Simple usage scenario: ====================== -1. build and deploay the component +1. build and deploy the component 2. open a new spreadsheet document 3. select for example cell B:2 4. start the DataPilot dialog diff --git a/odk/examples/DevelopersGuide/Text/TextDocuments.java b/odk/examples/DevelopersGuide/Text/TextDocuments.java index 5954f558dea4..2c41d28ae05e 100644 --- a/odk/examples/DevelopersGuide/Text/TextDocuments.java +++ b/odk/examples/DevelopersGuide/Text/TextDocuments.java @@ -1406,7 +1406,7 @@ public class TextDocuments { // Select the last paragraph in the document xParaCursor.gotoNextParagraph ( true ); - // And reset it's style to 'Standard' (the programmatic name for + // And reset its style to 'Standard' (the programmatic name for // the default style) xCursorProps.setPropertyValue ( "ParaStyleName", "Standard" ); } diff --git a/odk/examples/cpp/remoteclient/Makefile b/odk/examples/cpp/remoteclient/Makefile index bcb7048d8794..238ec3ca2a74 100644 --- a/odk/examples/cpp/remoteclient/Makefile +++ b/odk/examples/cpp/remoteclient/Makefile @@ -2,7 +2,7 @@ # # The Contents of this file are made available subject to the terms of # the BSD license. -# +# # Copyright 2000, 2010 Oracle and/or its affiliates. # All rights reserved. # @@ -29,7 +29,7 @@ # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# #************************************************************************** # Builds the C++ remoteclient example of the SDK. @@ -46,7 +46,7 @@ COMP_IMPL_NAME=$(COMP_NAME).uno.$(SHAREDLIB_EXT) COMP_IMPL=$(SHAREDLIB_OUT)/$(COMP_IMPL_NAME) COMP_RDB_NAME = $(COMP_NAME).uno.rdb COMP_RDB = $(OUT_BIN)/$(COMP_RDB_NAME) -COMP_SERVICES=$(SHAREDLIB_OUT)/remoteclientsample.rdb +COMP_SERVICES=$(SHAREDLIB_OUT)/remoteclientsample.rdb ENV_COMP_SERVICES=-env:URE_MORE_SERVICES=$(URLPREFIX)$(COMP_SERVICES) @@ -110,16 +110,16 @@ $(COMP_SERVICES) : #CppClientExample : $(COMP_IMPL) $(COMP_ENV_FLAG) CppClientExample : $(COMP_IMPL) $(COMP_SERVICES) @echo -------------------------------------------------------------------------------- - @echo The remoteclient C++ component can be used by using the uno binary. Use the - @echo the follwong command to start the example. The run target starts a remote + @echo The remoteclient C++ component can be used by using the uno binary. Use the + @echo the following command to start the example. The run target starts a remote @echo server and connect with the client to this server. - @echo - + @echo - @echo $(MAKE) remoteclient.run - @echo - + @echo - @echo NOTE: The example uses the $(QM)uno$(QM) tool to prepare a working UNO environment. @echo $(SQM) $(SQM)The example component is made available via -env:URE_MORE_SERVICES=... @echo $(SQM) $(SQM)Please check the generated $(QM)$(COMP_SERVICES)$(QM) to see how you can specify your own components in such an environment - @echo $(SQM) $(SQM)and how to use the passive UNO registration. + @echo $(SQM) $(SQM)and how to use the passive UNO registration. @echo -------------------------------------------------------------------------------- %.run: $(COMP_IMPL) diff --git a/odk/examples/java/ConverterServlet/ConverterServlet.java b/odk/examples/java/ConverterServlet/ConverterServlet.java index 2f60077d92d0..98432b4bf531 100644 --- a/odk/examples/java/ConverterServlet/ConverterServlet.java +++ b/odk/examples/java/ConverterServlet/ConverterServlet.java @@ -1,4 +1,4 @@ -/************************************************************************* +/* * * The Contents of this file are made available subject to the terms of * the BSD license. @@ -30,7 +30,7 @@ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - *************************************************************************/ + */ // JDK API import java.io.IOException; diff --git a/odk/examples/python/toolpanel/readme b/odk/examples/python/toolpanel/readme index 11394383ebd8..9061339e5b24 100644 --- a/odk/examples/python/toolpanel/readme +++ b/odk/examples/python/toolpanel/readme @@ -2,7 +2,7 @@ This extension is a Proof of concept on implementing Toolpanel in Python - make will create the oxt - - provided sdk environnement is set + - provided sdk environment is set - alternatively zip the files and name it toolpanel.oxt - install it - activate Task Panes in menu (check View > Task Pane menu) |