summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /odk/examples/DevelopersGuide/OfficeDev
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (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/examples/DevelopersGuide/OfficeDev')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java36
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java2
9 files changed, 27 insertions, 27 deletions
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() );