From 095438e52ccff8eaf12af6b3e3eb5f8c00792416 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 24 Mar 2017 15:17:01 +0100 Subject: Fix typos Change-Id: I14dca0d55c09187690dc1d94936c40b890ca5cea Reviewed-on: https://gerrit.libreoffice.org/35637 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java | 2 +- .../Components/Thumbs/org/openoffice/comp/test/Thumbs.java | 2 +- .../DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java | 2 +- .../DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java | 2 +- .../DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java | 2 +- odk/examples/DevelopersGuide/UCB/ResourceManager.java | 2 +- odk/examples/OLE/activex/SOActiveX.cpp | 2 +- odk/examples/java/NotesAccess/Makefile | 2 +- odk/examples/java/ToDo/ToDo.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'odk/examples') diff --git a/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java b/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java index 6fc0da170d48..e9ba0581c09e 100644 --- a/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java +++ b/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java @@ -208,7 +208,7 @@ public class SelectionChangeListener implements XSelectionChangeListener { int button = com.sun.star.awt.MessageBoxButtons.BUTTONS_OK; XMessageBoxFactory aMBF = UnoRuntime.queryInterface(XMessageBoxFactory.class, aToolKit); - XMessageBox xMB = aMBF.createMessageBox(aWinPeer, MessageBoxType.INFOBOX, button, "Event-Notify", "Listener was called, selcetion has changed"); + XMessageBox xMB = aMBF.createMessageBox(aWinPeer, MessageBoxType.INFOBOX, button, "Event-Notify", "Listener was called, selection has changed"); xMB.execute(); } } diff --git a/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/Thumbs.java b/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/Thumbs.java index 18feea570728..a43c4da87a97 100644 --- a/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/Thumbs.java +++ b/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/Thumbs.java @@ -60,7 +60,7 @@ public class Thumbs { System.out.println("ImageShrink component successfully instantiated"); java.io.File f = new java.io.File("."); - System.out.println("set SourceDrectory ..."); + System.out.println("set SourceDirectory..."); xImageShrinkFilter.setSourceDirectory(f.getCanonicalPath()); System.out.println("source Directory = " diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java index 7d6a5b51c2c3..660f9f360ba6 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java @@ -72,7 +72,7 @@ class OnewayExecutor extends Thread /** * @member m_rLink the object, which wish to be called back by this thread * @member m_nRequest describes the type of the original request (means the - * called oneyway method) + * called oneway method) * @member m_lParams list of parameters of the original request */ private final IOnewayLink m_rLink ; diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java index c3afb6061999..3131332e7d53 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java @@ -55,7 +55,7 @@ import javax.swing.*; * call needs this mutex too => a deadlock occurs. * Why? UNO had created a new thread for our synchronous call * inside the office process and so exist different threads - * for this constallation. + * for this constellation. * */ public class StatusView extends JPanel diff --git a/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java b/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java index 73cb931b308a..136400544095 100644 --- a/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java +++ b/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java @@ -127,7 +127,7 @@ public class ConnectionAwareClient extends java.awt.Frame } } - /** separtates the uno-url into 3 different parts. + /** separates the uno-url into 3 different parts. */ protected static String[] parseUnoUrl( String url ) { diff --git a/odk/examples/DevelopersGuide/UCB/ResourceManager.java b/odk/examples/DevelopersGuide/UCB/ResourceManager.java index 30a183ca5e70..6eb10d87b992 100644 --- a/odk/examples/DevelopersGuide/UCB/ResourceManager.java +++ b/odk/examples/DevelopersGuide/UCB/ResourceManager.java @@ -256,7 +256,7 @@ public class ResourceManager { boolean result = transResource.transferResource( sourceURL, targetFolderURL, newTitle, transOperation ); if ( result ) - System.out.println( "\nTransfering resource succeeded." ); + System.out.println( "\nTransferring resource succeeded." ); else System.out.println( "Transferring resource failed." ); diff --git a/odk/examples/OLE/activex/SOActiveX.cpp b/odk/examples/OLE/activex/SOActiveX.cpp index e264290a6db6..f98e2ddb1c37 100644 --- a/odk/examples/OLE/activex/SOActiveX.cpp +++ b/odk/examples/OLE/activex/SOActiveX.cpp @@ -394,7 +394,7 @@ HRESULT CSOActiveX::CreateFrameOldWay( HWND hwnd, int width, int height ) hr = GetIDispByFunc( pdispDesktop, L"getFrames", NULL, 0, pdispChildren ); if( !SUCCEEDED( hr ) ) return hr; - // insert new frame into desctop hierarchy + // insert new frame into desktop hierarchy hr = ExecuteFunc( pdispChildren, L"append", &CComVariant( mpDispFrame ), 1, &dummyResult ); if( !SUCCEEDED( hr ) ) return hr; diff --git a/odk/examples/java/NotesAccess/Makefile b/odk/examples/java/NotesAccess/Makefile index f403e58b48b0..47d024db8d5b 100644 --- a/odk/examples/java/NotesAccess/Makefile +++ b/odk/examples/java/NotesAccess/Makefile @@ -95,7 +95,7 @@ $(APP_JAR) : $(OUT_APP_CLASS)/$(APP_NAME).mf $(OUT_APP_CLASS)/$(APP_NAME).class JavaNotesAccessExample : NotesAPIs $(APP_JAR) @echo -------------------------------------------------------------------------------- - @echo NOTE: Before you run this example make sure that the exaternal "$(QM)Notes.jar$(QM)" can + @echo NOTE: Before you run this example make sure that the external "$(QM)Notes.jar$(QM)" can @echo be found besides "$(QM)$(APP_JAR)"$(QM) @echo and that the PATH variable includes the Notes installation directory. @echo - diff --git a/odk/examples/java/ToDo/ToDo.java b/odk/examples/java/ToDo/ToDo.java index 564afed0fe4d..312ab42d3fd0 100644 --- a/odk/examples/java/ToDo/ToDo.java +++ b/odk/examples/java/ToDo/ToDo.java @@ -181,7 +181,7 @@ public class ToDo { XSpreadsheet xspreadsheet = UnoRuntime.queryInterface( XSpreadsheet.class, xindexaccess.getByIndex( 0 )); - // Querying for the interface XCellRange on the XSpeadsheet + // Querying for the interface XCellRange on the XSpreadsheet XCellRange xcellrange = UnoRuntime.queryInterface( XCellRange.class, xspreadsheet ); /* Getting the gregorian calendar with the date on which to start -- cgit v1.2.3