diff options
20 files changed, 28 insertions, 28 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 01169a741d14..0f5e126c6299 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -1297,7 +1297,7 @@ void addJavaInfosDirScan( { //usr/java //When we look directly into a dir like /usr, /usr/lib, etc. then we only - //look for certain java directories, such as jre, jdk, etc. Whe do not want + //look for certain java directories, such as jre, jdk, etc. We do not want //to examine the whole directory because of performance reasons. DirectoryItem item2; if(DirectoryItem::get(usDir2, item2) == File::E_None) diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py index f51202ce1a31..287404d8d920 100644 --- a/librelogo/source/LibreLogo/LibreLogo.py +++ b/librelogo/source/LibreLogo/LibreLogo.py @@ -1728,7 +1728,7 @@ def __compil__(s): if len(subnames) > 0: globs = "global %s" % ", ".join(subnames) - # search user functions (function calls with two or more arguments need explicite Python parentheses) + # search user functions (function calls with two or more arguments need explicit Python parentheses) ends = __l12n__(_.lng)["END"] # support multiple names of "END" firstend = ends.split("|")[0] s = re.sub(r"(?<!:)\b(?:%s)\b" % ends, firstend, s) diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index ea6aca5481ac..579c45228835 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -316,7 +316,7 @@ Sequence < Reference < css::linguistic2::XMeaning > > SAL_CALL Thesaurus::queryM { if (rLocale == aTLocs[i]) { - // open up and intialize this thesaurus if need be + // open up and initialize this thesaurus if need be if (!aThes[i]) { OUString datpath = aTNames[i] + ".dat"; diff --git a/linguistic/source/gciterator.hxx b/linguistic/source/gciterator.hxx index a4d6fc1672d3..0d7a1855f37f 100644 --- a/linguistic/source/gciterator.hxx +++ b/linguistic/source/gciterator.hxx @@ -109,7 +109,7 @@ class GrammarCheckingIterator: osl::Condition m_aWakeUpThread; oslThread m_thread; - //! beware of initilization order ! + //! beware of initialization order! struct MyMutex : public rtl::Static< osl::Mutex, MyMutex > {}; comphelper::OInterfaceContainerHelper2 m_aEventListeners; comphelper::OInterfaceContainerHelper2 m_aNotifyListeners; diff --git a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx index 61931688013e..bd2500f39f11 100644 --- a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx +++ b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx @@ -56,7 +56,7 @@ /** * @file * For LWP filter architecture prototype - * Implemention of class LwpBackgroundStuff. + * Implementation of class LwpBackgroundStuff. */ #include "lwpbackgroundstuff.hxx" diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx index 17f0c04f6792..10acd0ab88a3 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -742,7 +742,7 @@ void LwpPara::RegisterStyle() //register master page; RegisterMasterPage(GetXFParaStyle()); - // reg auto style,lay here for pagebreak need overrided para style + // reg auto style,lay here for pagebreak need overridden para style m_Fribs.SetPara(this); m_Fribs.RegisterStyle(); diff --git a/lotuswordpro/source/filter/xfilter/xfofficemeta.cxx b/lotuswordpro/source/filter/xfilter/xfofficemeta.cxx index fbeb52e4c104..d20080267b30 100644 --- a/lotuswordpro/source/filter/xfilter/xfofficemeta.cxx +++ b/lotuswordpro/source/filter/xfilter/xfofficemeta.cxx @@ -55,7 +55,7 @@ ************************************************************************/ /************************************************************************* * @file - * Implemention file for Meta data,pls reference to the header file. + * Implementation file for Meta data,pls reference to the header file. ************************************************************************/ #include "xfofficemeta.hxx" #include "ixfstream.hxx" diff --git a/lotuswordpro/source/filter/xfilter/xfutil.hxx b/lotuswordpro/source/filter/xfilter/xfutil.hxx index 8d72ab7257d3..c9eddad4f3ba 100644 --- a/lotuswordpro/source/filter/xfilter/xfutil.hxx +++ b/lotuswordpro/source/filter/xfilter/xfutil.hxx @@ -55,7 +55,7 @@ ************************************************************************/ /************************************************************************* * @file - * Tool funtions for xml filter. + * Tool functions for xml filter. * Don't use any template for the ***TOOUString function list for easy. ************************************************************************/ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFUTIL_HXX diff --git a/mysqlc/source/mysqlc_connection.cxx b/mysqlc/source/mysqlc_connection.cxx index 8732d9d32f97..5f082310b7c7 100644 --- a/mysqlc/source/mysqlc_connection.cxx +++ b/mysqlc/source/mysqlc_connection.cxx @@ -495,7 +495,7 @@ void SAL_CALL OConnection::clearWarnings() void OConnection::disposing() { - // we noticed that we should be destroied in near future so we have to dispose our statements + // we noticed that we should be destroyed in near future so we have to dispose our statements MutexGuard aGuard(m_aMutex); for (OWeakRefArray::iterator i = m_aStatements.begin(); i != m_aStatements.end() ; ++i) { diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx index 02d0184f83ef..319fc963cc39 100644 --- a/mysqlc/source/mysqlc_driver.cxx +++ b/mysqlc/source/mysqlc_driver.cxx @@ -56,7 +56,7 @@ void MysqlCDriver::disposing() { ::osl::MutexGuard aGuard(m_aMutex); - // when driver will be destroied so all our connections have to be destroied as well + // when driver will be destroyed so all our connections have to be destroyed as well for (OWeakRefArray::iterator i = m_xConnections.begin(); m_xConnections.end() != i; ++i) { Reference< XComponent > xComp(i->get(), UNO_QUERY); diff --git a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java index cc7e6c0b050f..372f6c2dfa04 100644 --- a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java +++ b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java @@ -119,7 +119,7 @@ public class LicenseTest { public void initialize( Object[] object ) throws com.sun.star.uno.Exception { /* The component describes what arguments its expected and in which - * order!At this point you can read the objects and can intialize + * order!At this point you can read the objects and can initialize * your component using these objects. */ } diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx index 860a907bcec9..4db2f20a1e47 100644 --- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx +++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx @@ -379,7 +379,7 @@ void OConnection::buildTypeInfo() throw( SQLException) void OConnection::disposing() { - // we noticed that we should be destroied in near future so we have to dispose our statements + // we noticed that we should be destroyed in near future so we have to dispose our statements ::osl::MutexGuard aGuard(m_aMutex); for (OWeakRefArray::iterator i = m_aStatements.begin(); m_aStatements.end() != i; ++i) diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx index 1c259404425a..1c3abbadf049 100644 --- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx +++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx @@ -63,7 +63,7 @@ void SkeletonDriver::disposing() { ::osl::MutexGuard aGuard(m_aMutex); - // when driver will be destroied so all our connections have to be destroied as well + // when driver will be destroyed so all our connections have to be destroyed as well for (OWeakRefArray::iterator i = m_xConnections.begin(); m_xConnections.end() != i; ++i) { Reference< XComponent > xComp(i->get(), UNO_QUERY); diff --git a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java index 642c97890d55..47bfe156a522 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java +++ b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java @@ -64,7 +64,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { xCompLoader.loadComponentFromURL("private:factory/swriter", "_blank", 0, new com.sun.star.beans.PropertyValue[0]); - // intialize the test document + // initialize the test document com.sun.star.frame.XFrame xFrame = null; { com.sun.star.text.XTextDocument xDoc =UnoRuntime.queryInterface(com.sun.star.text.XTextDocument.class, @@ -176,7 +176,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { xMenuElementFactory.createInstance( "com.sun.star.ui.ActionTriggerContainer" )); - // intialize root menu entry + // initialize root menu entry xRootMenuEntry.setPropertyValue( "Text", "Help"); xRootMenuEntry.setPropertyValue( "CommandURL", "slot:5410"); xRootMenuEntry.setPropertyValue( "HelpURL", "5410"); @@ -184,7 +184,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { // create menu entries for the new sub menu - // intialize help/content menu entry + // initialize help/content menu entry XPropertySet xMenuEntry = UnoRuntime.queryInterface( XPropertySet.class, xMenuElementFactory.createInstance( "com.sun.star.ui.ActionTrigger" )); @@ -196,7 +196,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { // insert menu entry to sub menu xSubMenuContainer.insertByIndex( 0, xMenuEntry ); - // intialize help/help on help + // initialize help/help on help xMenuEntry = UnoRuntime.queryInterface( com.sun.star.beans.XPropertySet.class, xMenuElementFactory.createInstance( @@ -208,7 +208,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { // insert menu entry to sub menu xSubMenuContainer.insertByIndex( 1, xMenuEntry ); - // intialize help/tips + // initialize help/tips xMenuEntry = UnoRuntime.queryInterface( com.sun.star.beans.XPropertySet.class, xMenuElementFactory.createInstance( diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java index a2949235098a..8d2886b4e9ba 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java @@ -323,7 +323,7 @@ public class LinguisticExamples } } - //! remove listener before programm termination. + //! remove listener before program termination. //! should not be omitted. mxLinguSvcMgr.removeLinguServiceManagerListener(aClient); diff --git a/odk/examples/java/MinimalComponent/MinimalComponent.java b/odk/examples/java/MinimalComponent/MinimalComponent.java index 828cf0cc84da..b18a777eb373 100644 --- a/odk/examples/java/MinimalComponent/MinimalComponent.java +++ b/odk/examples/java/MinimalComponent/MinimalComponent.java @@ -92,7 +92,7 @@ public class MinimalComponent { public void initialize( Object[] object ) throws com.sun.star.uno.Exception { /* The component describes what arguments its expected and in which - * order!At this point you can read the objects and can intialize + * order!At this point you can read the objects and can initialize * your component using these objects. */ } diff --git a/offapi/com/sun/star/ui/XSidebar.idl b/offapi/com/sun/star/ui/XSidebar.idl index d5c495e05170..1881804d8b8e 100644 --- a/offapi/com/sun/star/ui/XSidebar.idl +++ b/offapi/com/sun/star/ui/XSidebar.idl @@ -29,7 +29,7 @@ interface XSidebar { /** Request layout of the sidebar. Call this method when one of the panels wants to change its size due to - late initilization or different content after a context change. + late initialization or different content after a context change. */ void requestLayout (); } ; diff --git a/offapi/org/freedesktop/PackageKit/XQuery.idl b/offapi/org/freedesktop/PackageKit/XQuery.idl index ecfe1aadece5..d55ffcf8756a 100644 --- a/offapi/org/freedesktop/PackageKit/XQuery.idl +++ b/offapi/org/freedesktop/PackageKit/XQuery.idl @@ -18,7 +18,7 @@ module freedesktop module PackageKit { /** - * The interface used for quering the package database. + * The interface used for querying the package database. * * @sa * https://git.gnome.org/browse/gnome-software/tree/src/org.freedesktop.PackageKit.xml diff --git a/offapi/type_reference/typelibrary_history.txt b/offapi/type_reference/typelibrary_history.txt index 02b7fee0af53..7f375fa27ca1 100644 --- a/offapi/type_reference/typelibrary_history.txt +++ b/offapi/type_reference/typelibrary_history.txt @@ -105,7 +105,7 @@ 05/15/06 (JSC, TL): TaskID=i54823,i62825 adapt the documentation because of specification errors which have never matched - the existing implmentation. + the existing implementation. Style -> FollowStyle property is now of type string instead of boolean TextTableRow -> TableColumnSeparators is now a sequence instead of the single return diff --git a/oox/source/drawingml/customshapepresetdata.cxx b/oox/source/drawingml/customshapepresetdata.cxx index 8916ae27c1cc..4773eef57c52 100644 --- a/oox/source/drawingml/customshapepresetdata.cxx +++ b/oox/source/drawingml/customshapepresetdata.cxx @@ -77,7 +77,7 @@ drawing::EnhancedCustomShapeParameterPair lcl_parseEnhancedCustomShapeParameterP { drawing::EnhancedCustomShapeParameterPair aPair; OString aToken = rValue; - // We expect the followings here: First.Value, First.Type, Second.Value, Second.Type + // We expect the following here: First.Value, First.Type, Second.Value, Second.Type static const char aExpectedFVPrefix[] = "First = (com.sun.star.drawing.EnhancedCustomShapeParameter) { Value = (any) { (long) "; assert(aToken.startsWith(aExpectedFVPrefix)); sal_Int32 nIndex = strlen(aExpectedFVPrefix); @@ -107,7 +107,7 @@ drawing::EnhancedCustomShapeSegment lcl_parseEnhancedCustomShapeSegment(const OS { drawing::EnhancedCustomShapeSegment aSegment; OString aToken = rValue; - // We expect the followings here: Command, Count + // We expect the following here: Command, Count static const char aExpectedCommandPrefix[] = "Command = (short) "; assert(aToken.startsWith(aExpectedCommandPrefix)); sal_Int32 nIndex = strlen(aExpectedCommandPrefix); @@ -125,7 +125,7 @@ awt::Rectangle lcl_parseRectangle(const OString& rValue) { awt::Rectangle aRectangle; OString aToken = rValue; - // We expect the followings here: X, Y, Width, Height + // We expect the following here: X, Y, Width, Height static const char aExpectedXPrefix[] = "X = (long) "; assert(aToken.startsWith(aExpectedXPrefix)); sal_Int32 nIndex = strlen(aExpectedXPrefix); @@ -156,7 +156,7 @@ awt::Size lcl_parseSize(const OString& rValue) { awt::Size aSize; OString aToken = rValue; - // We expect the followings here: Width, Height + // We expect the following here: Width, Height static const char aExpectedWidthPrefix[] = "Width = (long) "; assert(aToken.startsWith(aExpectedWidthPrefix)); sal_Int32 nIndex = strlen(aExpectedWidthPrefix); @@ -289,7 +289,7 @@ void lcl_parseHandleRange(std::vector<beans::PropertyValue>& rHandle, const OStr { drawing::EnhancedCustomShapeParameter aParameter; aToken = aToken.copy(strlen(aExpectedPrefix), aToken.getLength() - strlen(aExpectedPrefix) - strlen(" } }")); - // We expect the followings here: Value and Type + // We expect the following here: Value and Type static const char aExpectedVPrefix[] = "Value = (any) { (long) "; assert(aToken.startsWith(aExpectedVPrefix)); sal_Int32 nIndex = strlen(aExpectedVPrefix); |