summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-10-02 10:43:00 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-10-02 08:45:48 +0000
commit34ab9e2e1790f053910a71cf7b8a7e2f054ddd34 (patch)
tree55ce5f002729e709ce4f8d105efa5d7e7d42a06d /odk
parent4caaa09d4da0f7bd5aa0fae3233d66bd977f185e (diff)
Fix typos
Change-Id: I51ed2ccb06ba4ced15cd0b8e23e59a9609f07e93 Reviewed-on: https://gerrit.libreoffice.org/18961 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java4
-rw-r--r--odk/examples/DevelopersGuide/Config/ConfigExamples.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/DataAwareness.java2
-rw-r--r--odk/examples/DevelopersGuide/GUI/UnoDialogSample.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java14
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java2
-rw-r--r--odk/examples/DevelopersGuide/Text/TextDocuments.java2
-rw-r--r--odk/examples/java/ConverterServlet/ConverterServlet.java2
15 files changed, 28 insertions, 28 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index f263f0ec00dd..8e3ef8233ea5 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -242,7 +242,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
* is shown as title of the info box.
*
* @param sMessage
- * inclused the message body, which is shown as info.
+ * included the message body, which is shown as info.
*/
private void showInfoModal( com.sun.star.awt.XWindow xParent ,
@@ -327,7 +327,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
* contains all shared configuration items for a job
*
* @param lJobConfig
- * contains all job sepcific configuration items
+ * contains all job specific configuration items
*
* @param lEnvironment
* contains some environment information
diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
index db4a63966f84..c2b80e2e7762 100644
--- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java
+++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
@@ -431,7 +431,7 @@ public class ConfigExamples
}
// BROWSE example
- /// Interface to procees information when browsing the configuration tree
+ /// Interface to process information when browsing the configuration tree
public interface IConfigurationProcessor
{
/// process a value item
diff --git a/odk/examples/DevelopersGuide/Forms/DataAwareness.java b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
index 6170f4405727..a040646c8ffe 100644
--- a/odk/examples/DevelopersGuide/Forms/DataAwareness.java
+++ b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
@@ -305,7 +305,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
bGenerateOnReset = ( 0 == nNewValue );
}
else if ( sRefValue.equals( "reset" ) )
- { // generat on reset
+ { // generate on reset
bGenerateOnReset = ( 0 != nNewValue );
}
m_aSalesmanKeyGenerator.activateKeyGenerator( bGenerateOnReset );
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
index d2730e0f3e54..6f0f96453fd5 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
@@ -1340,9 +1340,9 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
}
/**
- *To fully understand the example one has to be aware that the passed ???Index??? parameter
+ * 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??? directyl references to a certain step of dialog.
+ * whereas the variable ???_ID??? directly references to a certain step of dialog.
*/
public void insertRoadmapItem(int Index, boolean _bEnabled, String _sLabel, int _ID) {
try {
diff --git a/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java b/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java
index b42f8d5eb362..2fa3b065e339 100644
--- a/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java
+++ b/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java
@@ -80,7 +80,7 @@ public class OOoBeanViewer extends java.applet.Applet
private OOoBean aBean;
/**
- * Initialize the Appplet
+ * Initialize the Applet
*/
public void init()
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index 1acb6eae6a40..c501396e3895 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -166,7 +166,7 @@ public class CustomizeView extends JPanel
* We use our internal set dispatch objects to
* call it. This calls toogle the menu/object- or toolbar.
* Note: Because we are listener status events too - hopefully
- * we get a notification, if toogling was successfully or not.
+ * we get a notification, if toggling was successfully or not.
* We use this information to update our check boxes again.
* But such update doesn't force (hopefully) an action event. Otherwhise
* we can produce a never ending recursion!
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index c02ec71aba69..718e23571b75 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -539,7 +539,7 @@ public class FunctionHelper
com.sun.star.frame.FrameSearchFlag.CHILDREN,
lProperties);
- // dont forget to restore old frame name ...
+ // don't forget to restore old frame name...
xFrame.setName(sOldName);
}
catch(com.sun.star.io.IOException exIO)
@@ -746,7 +746,7 @@ public class FunctionHelper
* It shows the possible interface to do so.
*
* @param xFrame
- * frame which should be clcosed
+ * frame which should be closed
*
* @return <TRUE/> in case frame could be closed
* <FALSE/> otherwise
@@ -766,7 +766,7 @@ public class FunctionHelper
if (xCloseable!=null)
{
// We deliver the ownership of this frame not to the (possible)
- // source which throw a CloseVetoException. We whishto have it
+ // source which throw a CloseVetoException. We wish to have it
// under our own control.
try
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
index c7dc00d6bedc..21f3e6704a55 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
@@ -32,14 +32,14 @@
*
*************************************************************************/
-// __________ Imports __________
+// Imports
import java.util.ArrayList;
import com.sun.star.frame.FrameActionEvent;
import com.sun.star.uno.UnoRuntime;
-// __________ Implementation __________
+// Implementation
/**
* This class can be used to intercept dispatched URL's
@@ -190,7 +190,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
- * call back for frame action events
+ * 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
* to the frame. Otherwhise we can't guarantee full functionality here.
@@ -284,7 +284,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
- * Internal call back for frame action events, triggered by the used
+ * 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.
*
@@ -523,7 +523,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 ...
+ * So this interceptor doesn't support that really...
*/
public /*ONEWAY*/ void addStatusListener(/*IN*/ com.sun.star.frame.XStatusListener xListener,/*IN*/ com.sun.star.util.URL aURL)
{
@@ -538,7 +538,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
null);
if (xListener!=null)
{
- System.out.println("interceptor disable SavAs by listener notify");
+ System.out.println("interceptor disable SaveAs by listener notify");
xListener.statusChanged(aEvent);
}
}*/
@@ -572,7 +572,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 forgoten.
+ * isn't necessary here - because this frame dies and wish to be forgotten.
*
* @param aSource
* must be our internal saved frame, on which we listen for frame action events
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
index 63eecd630a5f..3ab36b6d8bb7 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
@@ -241,9 +241,9 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
if (m_bDead)
return;
- // enable/dsiable th control.
- // Means: If the feature isn't available currently - we can't show an status really here.
- // Then we should colorize it gray ...
+ // enable/disable the control.
+ // Means: if the feature isn't available currently - we can't show an status really here.
+ // Then we should colorize it gray...
m_rControl.setEnabled(aEvent.IsEnabled);
// Only if status is enabled we can look for his value!
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
index c4eb32ed4adb..b78bf869920a 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
@@ -203,12 +203,12 @@ public class StatusView extends JPanel
/**
- * Set new frame for this view and start listening for events imedatly.
+ * 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
* listener refresh himself internally for frame action events too.
* So we register it as such frame action listener only here.
- * Rest is done automatically ...
+ * Rest is done automatically...
*
* @param xFrame
* will be used as source of possible status events
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index 6d5f2cc27546..1bd7ac98d2c9 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -457,7 +457,7 @@ public class AsciiReplaceFilter
// Create a new paragraph for every line inside original file.
// May not all data could be readed - but that doesn't matter here.
// Reason: somewhere cancelled this function.
- // But check for optioanl replace request before ...
+ // But check for optional replace request before...
int nStart = 0;
int nEnd = -1;
int nLength = sText.length();
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
index f81b7dd83e8c..d269c236cf1b 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
@@ -95,7 +95,7 @@ OUString SAL_CALL FilterDetect::detect(Sequence< PropertyValue >& aArguments )
if (!xInStream.is())
{
- // open the stream if it was not suplied by the framework
+ // open the stream if it was not supplied by the framework
Reference< XSimpleFileAccess3 > xSFI(SimpleFileAccess::create(mxContext));
if (sURL.getLength() > 0)
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java
index 887d8f35ffa3..7db1b7803f3c 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java
@@ -54,7 +54,7 @@ import com.sun.star.uno.UnoRuntime;
public class LinguisticExamples
{
- // The remote office ocntext
+ // The remote office context
protected XComponentContext mxRemoteContext = null;
// The MultiServiceFactory interface of the Office
protected XMultiComponentFactory mxRemoteServiceManager = null;
diff --git a/odk/examples/DevelopersGuide/Text/TextDocuments.java b/odk/examples/DevelopersGuide/Text/TextDocuments.java
index 2d9da20a7105..5954f558dea4 100644
--- a/odk/examples/DevelopersGuide/Text/TextDocuments.java
+++ b/odk/examples/DevelopersGuide/Text/TextDocuments.java
@@ -1635,7 +1635,7 @@ public class TextDocuments {
{
try
{
- // Go to the end of the doucment
+ // Go to the end of the document
mxDocCursor.gotoEnd( false );
// insert a new paragraph
mxDocText.insertControlCharacter (
diff --git a/odk/examples/java/ConverterServlet/ConverterServlet.java b/odk/examples/java/ConverterServlet/ConverterServlet.java
index 6f68bf03fb0d..2f60077d92d0 100644
--- a/odk/examples/java/ConverterServlet/ConverterServlet.java
+++ b/odk/examples/java/ConverterServlet/ConverterServlet.java
@@ -261,7 +261,7 @@ public class ConverterServlet extends HttpServlet {
// Preparing properties for loading the document
PropertyValue propertyvalue[] = new PropertyValue[ 1 ];
- // Setting the flag for hidding the open document
+ // Setting the flag to hide the open document
propertyvalue[ 0 ] = new PropertyValue();
propertyvalue[ 0 ].Name = "Hidden";
propertyvalue[ 0 ].Value = Boolean.TRUE;