From f5ca04caca1b6888cdc6b00b8465a53e6d5cf38d Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 3 Mar 2013 17:11:39 +0100 Subject: Related to fdo#60724: correct spelling Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716 --- .../DevelopersGuide/Database/DriverSkeleton/SConnection.cxx | 2 +- odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx | 2 +- odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSet.cxx | 2 +- odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java | 4 ++-- .../DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java | 2 +- .../OfficeDev/DesktopEnvironment/FunctionHelper.java | 4 ++-- .../DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java | 4 ++-- .../OfficeDev/DesktopEnvironment/StatusListener.java | 2 +- .../DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java | 2 +- .../OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java | 6 +++--- 10 files changed, 15 insertions(+), 15 deletions(-) (limited to 'odk') diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx index bfb252951b12..de7fbe29e7b6 100644 --- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx +++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx @@ -219,7 +219,7 @@ sal_Bool SAL_CALL OConnection::isClosed( ) throw(SQLException, RuntimeException { ::osl::MutexGuard aGuard( m_aMutex ); - // just simple -> we are close when we are disposed taht means someone called dispose(); (XComponent) + // just simple -> we are close when we are disposed that means someone called dispose(); (XComponent) return OConnection_BASE::rBHelper.bDisposed; } // -------------------------------------------------------------------------------- diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx index 9eb10f3f58ad..4556ac489cd2 100644 --- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx +++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx @@ -139,7 +139,7 @@ sal_Bool SAL_CALL SkeletonDriver::acceptsURL( const ::rtl::OUString& url ) // -------------------------------------------------------------------------------- Sequence< DriverPropertyInfo > SAL_CALL SkeletonDriver::getPropertyInfo( const ::rtl::OUString& url, const Sequence< PropertyValue >& info ) throw(SQLException, RuntimeException) { - // if you have somthing special to say, return it here :-) + // if you have something special to say, return it here :-) return Sequence< DriverPropertyInfo >(); } // -------------------------------------------------------------------------------- diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSet.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSet.cxx index d5aec8b6feb3..196f06182f17 100644 --- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSet.cxx +++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSet.cxx @@ -400,7 +400,7 @@ void SAL_CALL OResultSet::beforeFirst( ) throw(SQLException, RuntimeException) checkDisposed(OResultSet_BASE::rBHelper.bDisposed); // move before the first row so that isBeforeFirst returns false - // the smae for other movement methods + // the same for other movement methods } // ------------------------------------------------------------------------- void SAL_CALL OResultSet::afterLast( ) throw(SQLException, RuntimeException) diff --git a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java index 1b10f7d50dcb..d0d2c5756daf 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java +++ b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java @@ -127,7 +127,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { } } catch ( com.sun.star.uno.RuntimeException ex ) { - // something strange has happend! + // something strange has happened! System.out.println( " Sample caught exception! " + ex ); System.exit(1); } @@ -245,7 +245,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { // we used an invalid index for accessing a container } catch ( com.sun.star.uno.Exception ex ) { - // something strange has happend! + // something strange has happened! } catch ( java.lang.Exception ex ) { // catch java exceptions and something useful diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java index 54c30ec59463..6d1d6e507d9e 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java @@ -170,7 +170,7 @@ public class DocumentView extends JFrame if(ViewContainer.mbInplace==true) { // create view to show opened documents - // This special view is neccessary for inplace mode only! + // This special view is necessary for inplace mode only! maDocumentView = new NativeView(); JSplitPane paSplit = new JSplitPane(); diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java index 1546bf387097..6058e010ee24 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java @@ -364,7 +364,7 @@ public class FunctionHelper com.sun.star.awt.XWindow xWindow = impl_createWindow(xCtx, aParentView); // pass the window the frame as his new container window. - // It's neccessary to do it first - before you call anything else there. + // It's necessary to do it first - before you call anything else there. // Otherwhise the frame throws some exceptions for "uninitialized state". xFrame.initialize( xWindow ); @@ -742,7 +742,7 @@ public class FunctionHelper { // Export can be forced by saving the document and using a // special filter name which can write needed format. Build - // neccessary argument list now. + // necessary argument list now. // Use special flag "Overwrite" too, to prevent operation // against possible exceptions, if file already exist. com.sun.star.beans.PropertyValue[] lProperties = diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java index 66eb053bd2c8..12ea20173b3a 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java @@ -301,7 +301,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, } // deregistration will be done everytime ... - // But may it's not neccessary to establish a new registration! + // But may it's not necessary to establish a new registration! // Don't look for ignoring actions - it was done already inside original frameAction() call! boolean bRegister = false; @@ -511,7 +511,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, if (aURL.Complete.startsWith("private:factory") == true) { // Create view frame for showing loaded documents on demand. - // The visible state is neccessary for JNI functionality to get the HWND and plug office + // The visible state is necessary for JNI functionality to get the HWND and plug office // inside a java window hierarchy! DocumentView aNewView = new DocumentView(); aNewView.setVisible(true); diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java index f67423975ce2..da7f8b7e1973 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java @@ -324,7 +324,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener, return; } // Don't look for ignoring actions - it was done already inside original frameAction() call! - // deregistration as status listener will be done here everytime - but registration only, if neccessary! + // deregistration as status listener will be done here everytime - but registration only, if necessary! boolean bRegister = false; switch(aEvent.Action.getValue()) { diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java index 4bce41405dbf..f1c47bcd38c8 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java @@ -125,7 +125,7 @@ public class ViewContainer extends Thread } // If this view is a registered shutdown listener on this view container // too, we must call his interface and forget him as possible listener. - // It's neccessary to guarantee his dead ... + // It's necessary to guarantee his dead ... boolean bShutdownView = false; synchronized(mlListener) { diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java index 57f352362918..e882e089b0e4 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java @@ -163,15 +163,15 @@ public class FilterOptions { // ONE argument has the wrong type // But I think we mustn't react here - because we setted - // default values for every neccessary item we need. + // default values for every necessary item we need. // In case this exception occures - this default exist // and we can live with it. } } - // Decide if it's neccessary AND possible to open streams. + // Decide if it's necessary AND possible to open streams. // Outside user can check for valid FilterOptions by using - // corresponding method isValid(). So it's not neccessary to + // corresponding method isValid(). So it's not necessary to // handle this error here in any case. if (m_xInput==null && m_xOutput==null && m_sURL!=null) impl_openStreams(bImport); -- cgit