summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-02 12:24:24 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-02 12:39:35 +0000
commit5bea199bae9986d7276a9b2379a577c6cea552ed (patch)
treecd9b75f7cb39b29a7a27244da2a187c224320613 /odk
parent51d996354f11048d7759cd7e206a2383421c2c81 (diff)
Fix typos
Change-Id: Ic6c41fbcc36c11a7528cde0986593a39c2d6738b Reviewed-on: https://gerrit.libreoffice.org/34803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java2
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx2
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java10
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java2
-rw-r--r--odk/examples/java/MinimalComponent/MinimalComponent.java2
6 files changed, 10 insertions, 10 deletions
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.
*/
}