From 7f73bb5b44202431f4d07b283e47b1bc0a1a651e Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 2 Jul 2015 18:23:45 +0200 Subject: Fix typos Change-Id: I8e429d1f03aac7c7cdb7ff4b43b3f46d40292510 Reviewed-on: https://gerrit.libreoffice.org/16709 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- odk/examples/DevelopersGuide/Config/ConfigExamples.java | 2 +- odk/examples/DevelopersGuide/Forms/SalesFilter.java | 2 +- odk/examples/DevelopersGuide/GUI/UnoMenu.java | 2 +- .../OfficeDev/DesktopEnvironment/FunctionHelper.java | 6 +++--- .../DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java | 2 +- .../DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java | 4 ++-- .../OfficeDev/DesktopEnvironment/StatusListener.java | 2 +- .../OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java | 6 +++--- .../OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java | 2 +- .../DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java | 4 ++-- odk/examples/java/Text/TextDocumentStructure.java | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) (limited to 'odk/examples') diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java index e197fd529897..db4a63966f84 100644 --- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java +++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java @@ -647,7 +647,7 @@ public class ConfigExamples } } - /// this method is called to report an error during dialog execution to the zuser + // this method is called to report an error during dialog execution to the user public void informUserOfError(Exception e) { System.err.println("ERROR in GridEditor:"); e.printStackTrace(); diff --git a/odk/examples/DevelopersGuide/Forms/SalesFilter.java b/odk/examples/DevelopersGuide/Forms/SalesFilter.java index 5a1b46cfc9ec..412b46a098ef 100644 --- a/odk/examples/DevelopersGuide/Forms/SalesFilter.java +++ b/odk/examples/DevelopersGuide/Forms/SalesFilter.java @@ -383,7 +383,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis if ( aFilterItems.size() > 10 ) // (6 standard items + 5 user defined items) { - // the first (and thus oldes) user defined item + // the first (and thus oldest) user defined item aFilterItems.remove( 6 ); // keep our date vector synchron m_aFilterDates.remove( 6 ); diff --git a/odk/examples/DevelopersGuide/GUI/UnoMenu.java b/odk/examples/DevelopersGuide/GUI/UnoMenu.java index b6e9533ecb8a..5f9c244ff70c 100644 --- a/odk/examples/DevelopersGuide/GUI/UnoMenu.java +++ b/odk/examples/DevelopersGuide/GUI/UnoMenu.java @@ -124,7 +124,7 @@ public UnoMenu(XComponentContext _xContext, XMultiComponentFactory _xMCF) { // set up a window description and create the window. A parent window is always necessary for this... com.sun.star.awt.WindowDescriptor aWindowDescriptor = new com.sun.star.awt.WindowDescriptor(); - // a TopWindow is contains a title bar and is able to inlude menus... + // a TopWindow is contains a title bar and is able to include menus... aWindowDescriptor.Type = WindowClass.TOP; // specify the position and height of the window on the parent window aWindowDescriptor.Bounds = _aRectangle; diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java index c7891df841d4..c02ec71aba69 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java @@ -455,7 +455,7 @@ public class FunctionHelper com.sun.star.frame.XDispatchProvider.class, xFrame); - // Ask himn for right dispatch object for given URL. + // Ask him for right dispatch object for given URL. // Force given frame as target for following dispatch by using "". // It means the same like "_self". xDispatcher = xProvider.queryDispatch(aURL,"",0); @@ -866,8 +866,8 @@ public class FunctionHelper /** * helper to get a file URL selected by user - * This method doesn't show any API concepts ... - * but is necessary rof this demo application. + * This method doesn't show any API concepts... + * but is necessary for this demo application. * * @param aParent parent window of this dialog * @param bOpen If it is set to true => diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java index ff4bfe4cc65e..749041d01585 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java @@ -42,7 +42,7 @@ import java.util.ArrayList; * It's not allowed to call synchronous back to the office if a java object * was called in a oneway declared interface method. Then it must be * executed asynchronous. To do so - a thread can be created which use this - * interface. It get the object, which whis to be called back and the type and + * interface. It get the object, which has to be called back and the type and * parameter of the original request. * */ diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java index 850fb236b553..c7dc00d6bedc 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java @@ -624,10 +624,10 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, m_xFrame = null; } - // it's a good idead to cancel listening for frame action events + // 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 - // will force sending of frame action events ...! + // will force sending of frame action events...! if (bIsActionListener) xFrame.removeFrameActionListener(this); diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java index 038c80ff92f1..63eecd630a5f 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java @@ -249,7 +249,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener, // Only if status is enabled we can look for his value! if (aEvent.IsEnabled) { - // look for the right type ofthe UI control + // look for the right type of the UI control // Following actions depend on it. diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java index 715854a0b4cd..6d5f2cc27546 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java @@ -214,8 +214,8 @@ public class AsciiReplaceFilter /** * For external user of us we must provide our internal filter name * (which is registered inside configuration package TypeDetection). - * User will be able then to ask there for furthe information about us. - * Otherwhise we must implement a full featured XPropertySet ... + * User will be able then to ask there for further information about us. + * Otherwhise we must implement a full featured XPropertySet... * * @return our internal filter name of configuration */ @@ -593,7 +593,7 @@ public class AsciiReplaceFilter } /** - * helper function to convert the used StringBuffer into a Strig value. + * helper function to convert the used StringBuffer into a String value. * And we use this chance to have a look on optional filter options * which can invite replacing of strings. */ diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java index c740bc4d276d..cf54bfe3243b 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java @@ -49,7 +49,7 @@ import com.sun.star.uno.UnoRuntime; @attention This class mustn't be threadsafe - because instances of it are used temp. only - not as members. So no concurrent access should occur. - Another reason: It wuold be very difficult to safe every + Another reason: it would be very difficult to safe every access on our internal member. To do so - we must implement special methods instead of allowing pure member access. ************************************************************************-*/ diff --git a/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java b/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java index 6a46745933c2..387294601470 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java +++ b/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java @@ -39,7 +39,7 @@ import com.sun.star.util.thePathSettings; /* * Provides example code how to access and use the - * path pathsettings servce. + * path pathsettings service. */ public class PathSettingsTest { @@ -131,7 +131,7 @@ public class PathSettingsTest { } } - // Try to modfiy the work path property. After running this example + // Try to modify the work path property. After running this example // you should see the new value of "My Documents" in the path options // tab page, accessible via "Tools - Options - [Star|Open]Office - // Paths". diff --git a/odk/examples/java/Text/TextDocumentStructure.java b/odk/examples/java/Text/TextDocumentStructure.java index b85c650d4352..83e9bdb2bcee 100644 --- a/odk/examples/java/Text/TextDocumentStructure.java +++ b/odk/examples/java/Text/TextDocumentStructure.java @@ -51,7 +51,7 @@ public class TextDocumentStructure { xContext = com.sun.star.comp.helper.Bootstrap.bootstrap(); System.out.println("Connected to a running office ..."); - // get the rmeote service manger + // get the remote service manager com.sun.star.lang.XMultiComponentFactory xMCF = xContext.getServiceManager(); -- cgit v1.2.3