summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-12-20 11:25:37 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-20 15:55:00 +0100
commitb55259eeb549482477c57d854f3de72aff345edb (patch)
tree35e474b8458ae776a8455f4f78e73ae28c611180 /odk
parent377ec698afc98a9a098b456f4ae3c694498df6a2 (diff)
typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java12
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java8
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java10
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java8
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java22
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java8
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java16
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java8
-rw-r--r--odk/examples/DevelopersGuide/Text/TextDocuments.java2
-rw-r--r--odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx2
-rw-r--r--odk/examples/java/Spreadsheet/XCalcAddins.idl2
17 files changed, 56 insertions, 56 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index 7fb167f7081d..081502be7016 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -287,7 +287,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
catch(java.lang.Throwable exIgnore)
{
// ignore any problem, which can occur here.
- // It's not realy a bug for this example job, if
+ // It's not really a bug for this example job, if
// it's message could not be printed out!
}
}
@@ -297,7 +297,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
private void showInfoNonModal( java.lang.String sTitle ,
java.lang.String sMessage )
{
- // Couldnt be implemented realy using the toolkit ...
+ // Couldnt be implemented really using the toolkit ...
// Because we need a parent anytime.
// And showing e.g. a java dialog can make some trouble
// inside office ... but we have no chance here.
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx
index 2de4fbecab35..05bba108c173 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/OSubComponent.hxx
@@ -131,7 +131,7 @@ namespace connectivity
}
/** call this in the getInfoHelper method of your derived class. The method returns the array helper of the
- class, which is created if neccessary.
+ class, which is created if necessary.
*/
::cppu::IPropertyArrayHelper* getArrayHelper();
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
index c565fe547698..9641dc8864a9 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
@@ -49,7 +49,7 @@ public class Desk
/**
* main
* Establish connection to a remote office and starts the demo application.
- * User can overwrite some of neccessary start options by using command line parameters.
+ * User can overwrite some of necessary start options by using command line parameters.
*
* syntax: Desk [mode={inplace|outplace}] [file=<filename>]
*
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
index b00bebf3ee4b..7cbb0e3ecf8b 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
@@ -359,7 +359,7 @@ public class DocumentView extends JFrame
/**
* callback from our internal saved frame
- * which wish to die. Its not neccessary to remove listener connections
+ * which wish to die. Its not necessary to remove listener connections
* here. Because the broadcaster do it automaticly.
* We have to release all references to him only.
*
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index c227e339ab2e..88b80d34037b 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -117,7 +117,7 @@ public class FunctionHelper
{
// "createInstance()" method of used service manager can throw it.
// Then it wasn't possible to get the URL transformer.
- // Return default instead of realy parsed URL.
+ // Return default instead of really parsed URL.
aURL = null;
}
@@ -253,7 +253,7 @@ public class FunctionHelper
// is returned. But normaly nobody outside the office knows this id.
// New version of this method ignore the id parameter and creation will
// work.
- // Note: You must be shure if your window handle can be realy used by
+ // Note: You must be shure if your window handle can be really used by
// the remote office. Means if this java client and the remote office
// use the same display!
com.sun.star.awt.XSystemChildFactory xChildFactory =
@@ -272,7 +272,7 @@ public class FunctionHelper
if (xPeer==null)
{
// mode 3) OK - new version doesn't work. It requires the
- // process id which we doesn't have.
+ // process id which we don't have.
// So we must use the old way to get the right window peer.
// Pack the handle inside a wrapper object.
JavaWindowPeerFake aWrapper = new
@@ -308,7 +308,7 @@ public class FunctionHelper
// java window. In this case it should be enough to set return
// values to null. All other resources (which was created before)
// will be freed automaticly if scope wil be leaved.
- System.out.println("May be the NativeView object wasn't realy visible at calling time of getNativeWindow()?");
+ System.out.println("May be the NativeView object wasn't really visible at calling time of getNativeWindow()?");
xPeer = null;
xWindow = null;
}
@@ -494,7 +494,7 @@ public class FunctionHelper
* Dispatch an URL to given frame.
* Caller can register himself for following result events for dispatched
* URL too. Notifications are guaranteed (instead of dispatch())
- * Returning of the dispatch object isn't neccessary.
+ * Returning of the dispatch object isn't necessary.
* Nobody must hold it alive longer the dispatch needs.
*
* @param xFrame frame which should be the target of this dispatch
@@ -984,7 +984,7 @@ public class FunctionHelper
/**
* helper to get a file URL selected by user
* This method doesn't show any API concepts ...
- * but is neccessary rof this demo application.
+ * but is necessary rof 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 0ab7aa0cd606..22ce6388d1a8 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
@@ -54,7 +54,7 @@ public interface IOnewayLink
* @param nRequest
* The two user of this callback can define an unique number,
* which identify the type of original interface method. So the called
- * interface object can decide, which action will be neccessary.
+ * interface object can decide, which action will be necessary.
*
* @param lParams
* If the original method used parameters, they will be coded here in
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
index bdb6f6465e4b..88eeb2fd322f 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
@@ -46,7 +46,7 @@ import com.sun.star.uno.UnoRuntime;
* on any frame used in this demo application.
* It intercept all URL's which try to create a new empty frame.
* (e.g. "private:factory/swriter")
- * Nobody can guarantee that this interception will be realy used -
+ * Nobody can guarantee that this interception will be really used -
* because another interceptor (registered at a later time then this one!)
* will be called before this one.
* Implementation is executed inside a new thread to prevent application
@@ -114,7 +114,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
//_____________________
/**
- * start working as frame action listener realy.
+ * 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
* update our interception. Because such using of an interecptor
@@ -524,7 +524,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 realy ...
+ * 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)
{
@@ -573,7 +573,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 neccessary here - because this frame dies and wish to forgoten.
+ * isn't necessary here - because this frame dies and wish to forgoten.
*
* @param aSource
* must be our internal saved frame, on which we listen for frame action events
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
index da6078a6a905..d374af04864b 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
@@ -54,7 +54,7 @@ public class NativeView extends java.awt.Canvas
/**
* ctor
- * Does nothing realy.
+ * Does nothing really.
* We can use our JNI mechanism for an already visible
* canvas only. So we overload the method for showing ("setVisible()")
* and make our intialization there. BUt we try to show an empty clean
@@ -70,8 +70,8 @@ public class NativeView extends java.awt.Canvas
// ____________________
/**
- * Overload this method to make neccessary initializations here.
- * (e.g. get the window handle and neccessary system information)
+ * Overload this method to make necessary initializations here.
+ * (e.g. get the window handle and necessary system information)
*
* Why here?
* Because the handle seams to be available for already visible windows
@@ -110,7 +110,7 @@ public class NativeView extends java.awt.Canvas
/**
* overload paint routine to show provide against
- * repaint errors if no office view is realy plugged
+ * repaint errors if no office view is really plugged
* into this canvas.
* If handle is present - we shouldn't paint anything further.
* May the remote window is already plugged. In such case we
@@ -159,7 +159,7 @@ public class NativeView extends java.awt.Canvas
// ____________________
/**
- * for using of the JNI methods it's neccessary to load
+ * for using of the JNI methods it's necessary to load
* system library which exports it.
*/
static
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
index 2861b23bde3a..355be64638da 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
@@ -39,7 +39,7 @@ import java.util.ArrayList;
/**
* It's not allowed to call synchronoues back inside an oneway interface call.
* (see IOnewayLink too). So we start a thread (implemented by this class), which
- * gets all neccessary parameters from the original called object and
+ * gets all necessary parameters from the original called object and
* call it back later inside his run() method. So the execution of such oneway call
* will be asynchronous. It works in a generic way and can be used or any type
* of oneway request. Because the source and the target of this call-link knows,
@@ -82,7 +82,7 @@ class OnewayExecutor extends Thread
/**
* ctor
- * It's initialize this thread with all neccessary parameters.
+ * It's initialize this thread with all necessary parameters.
* It gets the object, which wish to be called back and the type
* and parameters of the original request.
*
@@ -90,7 +90,7 @@ class OnewayExecutor extends Thread
* The two user of this callback can define an unique number,
* which identify the type of original interface method.
* So the called interface object can decide, which action will be
- * neccessary.
+ * necessary.
*
* @param lParams
* If the original method used parameters, they will be coded here in
@@ -119,7 +119,7 @@ class OnewayExecutor extends Thread
/**
* implements the thread function
* Here we call the internal set link object back and
- * give him all neccessary parameters.
+ * give him all necessary parameters.
* After that we die by ouerself ...
*/
public void run()
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
index 5de834dac847..2f41916e24ea 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
@@ -74,7 +74,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
* @member m_sTrueText this text will be shown at the used UI control as description for an enabled status
* @member m_sFalseText this text will be shown at the used UI control as description for an disabled status
* @member m_xDispatch if we listen for status events, we must hold the dispatch object alive!
- * @member m_xFrame reference to the frame, which can provide new dispatch objects if it's neccessary to update it
+ * @member m_xFrame reference to the frame, which can provide new dispatch objects if it's necessary to update it
* @member m_aURL and of course we must be registered for a special URL
* @member m_bIsActionListener indicates if we are currently registered as a listener for frame action events or not
* @member m_bIsStatusListener indicates if we are currently registered as a listener for status events or not
@@ -95,7 +95,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
/**
* ctor
* It initialize an instance of this class only.
- * We set all neccessary information on our internal member - that's it
+ * We set all necessary information on our internal member - that's it
*/
StatusListener( /*IN*/ Component rControl ,
/*IN*/ String sTrueText ,
@@ -118,7 +118,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
//_____________________
/**
- * start working as frame action listener realy.
+ * start working as frame action listener really.
* In case we get such frame action, it indicates that we should
* update our internal saved dispatch object on which we listen
* for status events. So we can do it automaticly. The outside code
@@ -185,9 +185,9 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
/**
* This is the callback method for such frame action events, we listen for.
* Because it's a oneway method we start a thread as reaction. This thread call
- * us back and we can do neccessary things there.
- * But we shouldn't start such action - if it's not realy neccessary.
- * So we check before, if we are intereested on this event realy.
+ * us back and we can do necessary things there.
+ * But we shouldn't start such action - if it's not really necessary.
+ * So we check before, if we are intereested on this event really.
*
* @see impl_frameAction()
*
@@ -226,9 +226,9 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
/**
* This is the callback method for the status we listen for an wish to show it
- * on our UI control. Of yourse it's a oneway method ... but we doesn't call back
+ * on our UI control. Of course it's a oneway method ... but we don't call back
* to the office synchronously here. We update our UI only. So we don't leave this
- * java process. In such case it's not neccessary to use threads to decouple it.
+ * java process. In such case it's not necessary to use threads to decouple it.
* Do it here and now ...
*
* @param aEvent
@@ -242,7 +242,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
return;
// enable/dsiable th control.
- // Means: If the feature isn't available currently - we can't show an status realy here.
+ // 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);
@@ -279,7 +279,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
// Detect type of state value
// and set it on internal well known UI control
- // But do it only, if value realy change.
+ // But do it only, if value really change.
if(aEvent.State instanceof String)
{
String sState = (String)aEvent.State;
@@ -382,7 +382,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
/**
* callback for disposing events
* Our dispatch or frame object inform us about his following dead ...
- * So we must forget his reference. But it's not neccessary to
+ * So we must forget his reference. But it's not necessary to
* remove listener connections here. Because the broadcaster
* forget us automaticly. The only thing we have to do: release
* his reference and let him die!
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
index 51c506bdd3f1..63ae142deae9 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
@@ -46,7 +46,7 @@ import java.lang.String;
* It uses separate listener threads to get this information
* and actualize it automatically, if frame broadcast changes of
* his contained document.
- * Threads are neccessary to prevent this view against deadlocks.
+ * Threads are necessary to prevent this view against deadlocks.
* These deadlocks can occur if a listener will be notified
* by the office in an "oneway" method and try to call back
* to the office by using a synchronous method.
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
index b7e113b18c29..5b9851188aea 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
@@ -53,7 +53,7 @@ public class ViewContainer extends Thread
/**
* provides a singleton view container
- * Neccessary for terminate(9 functionality to be able
+ * Necessary for terminate(9 functionality to be able
* to call Runtime.runFinilization().
*
* @return a reference to the singleton ViewContainer instance
@@ -145,12 +145,12 @@ public class ViewContainer extends Thread
// remote references.
if (nViewCount<1)
{
- boolean bNeccessary = false;
+ boolean bNecessary = false;
synchronized(this)
{
- bNeccessary = ! mbShutdownActive;
+ bNecessary = ! mbShutdownActive;
}
- if (bNeccessary==true)
+ if (bNecessary==true)
{
System.out.println("call exit(0)!");
System.exit(0);
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index dd11cec69156..7dfce4705dd0 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -57,7 +57,7 @@ import com.sun.star.document.XFilter;
During import/export special functionality can be used to
e.g. to change some characters inside the file content
or replace some strings (no using of regular expressions!).
- User can decide at runtime which functionality realy should
+ User can decide at runtime which functionality really should
be used by selecting it in an extra filter property dialog.
So we show how a filter works fro iport/export, use or create
@@ -106,7 +106,7 @@ public class AsciiReplaceFilter
// native interface
/**
* special debug helper to get an idea how expensive
- * the implemented filter operations are realy.
+ * the implemented filter operations are really.
* May be useful for own purposes.
*
* To see the output inside an office environment
@@ -232,7 +232,7 @@ public class AsciiReplaceFilter
* It's not allowed for us - neither very easy to change our internal
* name during runtime of an office. Because every filter name must
* be unambigous ...
- * So we doesn't implement this method here.
+ * So we don't implement this method here.
*/
public void setName( String sName )
{
@@ -395,7 +395,7 @@ public class AsciiReplaceFilter
* But if some optional filter options are given
* we make some changes: replace chars or complete strings.
*
- * Note: It's not alloed for a filter to seek inside the stream.
+ * Note: It's not allowed for a filter to seek inside the stream.
* Because the outside frameloader has to set the stream position
* right and a filter must read till EOF occurs only.
*
@@ -403,7 +403,7 @@ public class AsciiReplaceFilter
* the target text model to put the data in
*
* @param aOptions
- * capsulate all other neccessary information for this filter request
+ * capsulate all other necessary information for this filter request
* (streams, replace values ...)
*
* @return a bool value which describes if method was successfully or not.
@@ -527,7 +527,7 @@ public class AsciiReplaceFilter
* a text model. We copy every letter from the document.
* There are no checks.
*
- * Note: It's not alloed for a filter to seek inside the stream.
+ * Note: It's not allowed for a filter to seek inside the stream.
* Because the outside frameloader has to set the stream position
* right and a filter must read till EOF occurs only.
*
@@ -535,7 +535,7 @@ public class AsciiReplaceFilter
* the source text model to get the data from
*
* @param aOptions
- * capsulate all other neccessary information for this filter request
+ * capsulate all other necessary information for this filter request
* (streams, replace values ...)
*
* @return a bool value which describes if method was successfully or not.
@@ -560,7 +560,7 @@ public class AsciiReplaceFilter
measure("get text from model");
- // Normaly this function isn't realy cancelable
+ // Normaly this function isn't really cancelable
// But we following operation can be very expensive. So
// this place is the last one to stop it.
synchronized(this)
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
index 1a94bd72ab58..73198adb717a 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
@@ -40,8 +40,8 @@ import com.sun.star.lang.XMultiComponentFactory;
import com.sun.star.uno.UnoRuntime;
/*-************************************************************************
- @title helper to analyze neccessary option properties of our filter
- @description Our filter needs some neccessary properties for working:
+ @title helper to analyze necessary option properties of our filter
+ @description Our filter needs some necessary properties for working:
- a stream for input or output
- or an URL for creating such streams
- information about required action on filtering
@@ -179,8 +179,8 @@ public class FilterOptions
/**
* with this method it's possible for the outside filter to decide
- * if he can use this FilterOptions realy or not.
- * That means especialy if neccessary streams are available or not.
+ * if he can use this FilterOptions really or not.
+ * That means especialy if necessary streams are available or not.
*/
public boolean isValid()
{
diff --git a/odk/examples/DevelopersGuide/Text/TextDocuments.java b/odk/examples/DevelopersGuide/Text/TextDocuments.java
index b981e231a738..ace39e924e3b 100644
--- a/odk/examples/DevelopersGuide/Text/TextDocuments.java
+++ b/odk/examples/DevelopersGuide/Text/TextDocuments.java
@@ -314,7 +314,7 @@ public class TextDocuments {
mxDocFactory = UnoRuntime.queryInterface(
XMultiServiceFactory.class, mxDoc );
- // Examples of text fields, dependant text fields and field masters
+ // Examples of text fields, dependent text fields and field masters
TextFieldExample ();
// Example of using an XEnumerationAccess to iterate over paragraphs and
diff --git a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
index d13da536c103..61ab750d3a50 100644
--- a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
+++ b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
@@ -211,7 +211,7 @@ Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler::getSupportedServiceNames
void SAL_CALL BaseDispatch::dispatch( const URL& aURL, const Sequence < PropertyValue >& lArgs ) throw (RuntimeException)
{
- /* Its neccessary to hold this object alive, till this method finish.
+ /* Its necessary to hold this object alive, till this method finish.
May the outside dispatch cache (implemented by the menu/toolbar!)
forget this instance during de-/activation of frames (focus!).
diff --git a/odk/examples/java/Spreadsheet/XCalcAddins.idl b/odk/examples/java/Spreadsheet/XCalcAddins.idl
index d00ba549a62c..2c6dd3859207 100644
--- a/odk/examples/java/Spreadsheet/XCalcAddins.idl
+++ b/odk/examples/java/Spreadsheet/XCalcAddins.idl
@@ -49,7 +49,7 @@ module org {
any number of arguments after xOptions.
Furthermore, you could replace the name of the service and
the interface, but only if you want to replace this name in all
- your project files. This example will work with tNeccessaryhe default
+ your project files. This example will work with tNecessaryhe default
names.
Interface names should start with an X prefix.
*/