summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autodoc/inc/ary/idl/i_type.hxx2
-rw-r--r--autodoc/source/ary/inc/cross_refs.hxx2
-rw-r--r--autodoc/source/ary/inc/sorted_idset.hxx2
-rw-r--r--autodoc/source/parser/inc/tokens/tokproct.hxx2
-rw-r--r--autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx2
-rw-r--r--autodoc/source/parser_i/inc/tokens/tkp2.hxx2
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/How_to_write_my_own_driver.txt2
-rw-r--r--odk/examples/DevelopersGuide/Forms/DataAwareness.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/KeyGenerator.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java2
-rw-r--r--odk/examples/java/ToDo/ToDo.java2
-rw-r--r--odk/source/com/sun/star/lib/loader/InstallationFinder.java14
-rw-r--r--odk/source/unoapploader/unx/unoapploader.c4
-rw-r--r--odk/source/unoapploader/win/unoapploader.c4
14 files changed, 22 insertions, 22 deletions
diff --git a/autodoc/inc/ary/idl/i_type.hxx b/autodoc/inc/ary/idl/i_type.hxx
index 436ee1fab330..88e063c3d919 100644
--- a/autodoc/inc/ary/idl/i_type.hxx
+++ b/autodoc/inc/ary/idl/i_type.hxx
@@ -58,7 +58,7 @@ class Type_2s
/** Base of all IDL types.
- Type represents the occurence of a type as base,
+ Type represents the occurrence of a type as base,
parameter, return type or element type in UNO IDL code.
Some of them relate to a ->CodeEntity, but
the ->Type "MyInterface" is something different than
diff --git a/autodoc/source/ary/inc/cross_refs.hxx b/autodoc/source/ary/inc/cross_refs.hxx
index ca2e893078f7..d07a629a4797 100644
--- a/autodoc/source/ary/inc/cross_refs.hxx
+++ b/autodoc/source/ary/inc/cross_refs.hxx
@@ -44,7 +44,7 @@ class CrossReferences
public:
typedef TYPES::element_type element;
- /// Checks for double occurences
+ /// Checks for double occurrences
void Add(
VALUE_LIST::index_type
i_nPosition
diff --git a/autodoc/source/ary/inc/sorted_idset.hxx b/autodoc/source/ary/inc/sorted_idset.hxx
index c5dff11bcaeb..4113bfb3f47d 100644
--- a/autodoc/source/ary/inc/sorted_idset.hxx
+++ b/autodoc/source/ary/inc/sorted_idset.hxx
@@ -44,7 +44,7 @@ template <class XY> class SortedIdSet;
class Interface_2s
{
public:
- /// Checks for double occurences
+ /// Checks for double occurrences
void Add_ExportingService(
Ce_id i_nId );
void Get_ExportingServices(
diff --git a/autodoc/source/parser/inc/tokens/tokproct.hxx b/autodoc/source/parser/inc/tokens/tokproct.hxx
index 8fdcef957290..eb3bd8baeab1 100644
--- a/autodoc/source/parser/inc/tokens/tokproct.hxx
+++ b/autodoc/source/parser/inc/tokens/tokproct.hxx
@@ -56,7 +56,7 @@ class TokenProcessing_Types
stay, // same parse environment
push, // push sub environment
pop_success, // return to parent environment, parsing was successful
- pop_failure // return to parent environment, but an error occured.
+ pop_failure // return to parent environment, but an error occurred.
};
struct TokenProcessing_Result
diff --git a/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx b/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx
index 0afae87c52b7..ad996ecd1359 100644
--- a/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx
+++ b/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx
@@ -64,7 +64,7 @@ class TokenProcessing_Types
push_sure, // push sub environment, which must be the correct one
push_try, // push sub environment, which is tried, if it may be the right one
pop_success, // return to parent environment, parsing was successful
- pop_failure // return to parent environment, but an error occured.
+ pop_failure // return to parent environment, but an error occurred.
};
struct TokenProcessing_Result
diff --git a/autodoc/source/parser_i/inc/tokens/tkp2.hxx b/autodoc/source/parser_i/inc/tokens/tkp2.hxx
index faf45d8e5332..21b0e2bc4895 100644
--- a/autodoc/source/parser_i/inc/tokens/tkp2.hxx
+++ b/autodoc/source/parser_i/inc/tokens/tkp2.hxx
@@ -65,7 +65,7 @@ class TokenParse2
source code.
@return true, if there was passed a valid token.
false, if the parsed stream is finished or
- an error occured.
+ an error occurred.
*/
bool GetNextToken();
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/How_to_write_my_own_driver.txt b/odk/examples/DevelopersGuide/Database/DriverSkeleton/How_to_write_my_own_driver.txt
index 910137ac5bc0..c2b54711aa57 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/How_to_write_my_own_driver.txt
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/How_to_write_my_own_driver.txt
@@ -1,7 +1,7 @@
How to write my own sdbc driver
Pre implementation steps
-- search all occurances of skeleton and replace them to a name which you prefer
+- search all occurrences of skeleton and replace them to a name which you prefer
1. Implement a class called driver or modify the existing skeleton -> have a look at SDriver.?xx
2. Implement a class called connection -> have a look at SConnection.?xx
diff --git a/odk/examples/DevelopersGuide/Forms/DataAwareness.java b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
index 1bbe299872d0..a5aa106fb9d2 100644
--- a/odk/examples/DevelopersGuide/Forms/DataAwareness.java
+++ b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
@@ -219,7 +219,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
/* ------------------------------------------------------------------ */
public void resetted( EventObject aEvent ) throws com.sun.star.uno.RuntimeException
{
- // check if this reset occured becase we're on a new record
+ // check if this reset occurred becase we're on a new record
XPropertySet xFormProps = UNO.queryPropertySet( aEvent.Source );
try
{
diff --git a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
index 21012abb046e..85a56aca3eeb 100644
--- a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
+++ b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
@@ -249,7 +249,7 @@ class KeyGeneratorForReset extends UniqueColumnValue implements XResetListener
/* ------------------------------------------------------------------ */
public void resetted( com.sun.star.lang.EventObject aEvent ) throws com.sun.star.uno.RuntimeException
{
- // check if this reset occured becase we're on a new record
+ // check if this reset occurred becase we're on a new record
XPropertySet xFormProps = UNO.queryPropertySet( aEvent.Source );
try
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index 75af2ab7f35d..8b6de7bad121 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -410,7 +410,7 @@ public class FunctionHelper
catch(com.sun.star.uno.Exception exUno)
{
// "createInstance()" method of used service manager can throw it.
- // If it occured during creation of desktop service the frame already was created.
+ // 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.
// Without the desktop service that wasn't possible. So no further rollbacks must follow.
if(xFrame!=null)
diff --git a/odk/examples/java/ToDo/ToDo.java b/odk/examples/java/ToDo/ToDo.java
index 87257c406903..784750a2e3e5 100644
--- a/odk/examples/java/ToDo/ToDo.java
+++ b/odk/examples/java/ToDo/ToDo.java
@@ -916,7 +916,7 @@ public class ToDo {
/** Writing the stack trace from an exception to a string and calling
* the method showMessage() with this string.
- * @param exception The occured exception.
+ * @param exception The occurred exception.
* @see showMessage
*/
public void showExceptionMessage( Exception exception ) {
diff --git a/odk/source/com/sun/star/lib/loader/InstallationFinder.java b/odk/source/com/sun/star/lib/loader/InstallationFinder.java
index 0b67d85e369e..5110035728ec 100644
--- a/odk/source/com/sun/star/lib/loader/InstallationFinder.java
+++ b/odk/source/com/sun/star/lib/loader/InstallationFinder.java
@@ -79,7 +79,7 @@ final class InstallationFinder {
* Gets the path of a UNO installation.
*
* @return the installation path or <code>null</code>, if no installation
- * was specified or found, or if an error occured
+ * was specified or found, or if an error occurred
*/
public static String getPath() {
@@ -140,7 +140,7 @@ final class InstallationFinder {
* java -D<property name>=<installation path> -jar application.jar.</p>
*
* @return the installation path or <code>null</code>, if no installation
- * was specified in the Java system property or if an error occured
+ * was specified in the Java system property or if an error occurred
*/
private static String getPathFromProperty( String prop ) {
@@ -164,7 +164,7 @@ final class InstallationFinder {
* Java versions.</p>
*
* @return the installation path or <code>null</code>, if no installation
- * was specified in the environment variable or if an error occured
+ * was specified in the environment variable or if an error occurred
*/
private static String getPathFromEnvVar( String var ) {
@@ -188,7 +188,7 @@ final class InstallationFinder {
* <p>This method is called on the Windows platform only.</p>
*
* @return the installation path or <code>null</code>, if no installation
- * was found or if an error occured
+ * was found or if an error occurred
*/
private static String getPathFromWindowsRegistry() {
@@ -227,7 +227,7 @@ final class InstallationFinder {
* Java versions.</p>
*
* @return the installation path or <code>null</code>, if no installation
- * was found or if an error occured
+ * was found or if an error occurred
*/
private static String getPathFromPathEnvVar() {
@@ -286,7 +286,7 @@ final class InstallationFinder {
* is in one of the directories listed in the PATH environment variable.</p>
*
* @return the installation path or <code>null</code>, if no installation
- * was found or if an error occured
+ * was found or if an error occurred
*/
private static String getPathFromWhich() {
@@ -382,7 +382,7 @@ final class InstallationFinder {
* OOo 2.0.</p>
*
* @return the installation path or <code>null</code>, if no installation
- * was found or if an error occured
+ * was found or if an error occurred
*/
private static String getPathFromSVersionFile() {
diff --git a/odk/source/unoapploader/unx/unoapploader.c b/odk/source/unoapploader/unx/unoapploader.c
index a44c01285918..969008dff396 100644
--- a/odk/source/unoapploader/unx/unoapploader.c
+++ b/odk/source/unoapploader/unx/unoapploader.c
@@ -231,7 +231,7 @@ int main( int argc, char *argv[] )
* Gets the path of a UNO installation.
*
* @return the installation path or NULL, if no installation was specified or
- * found, or if an error occured
+ * found, or if an error occurred
*/
char const* getPath()
{
@@ -255,7 +255,7 @@ char const* getPath()
*
* @param argv0 specifies the argv[0] parameter of the main function
*
- * @return the application's executable file name or NULL, if an error occured
+ * @return the application's executable file name or NULL, if an error occurred
*/
char* createCommandName( char* argv0 )
{
diff --git a/odk/source/unoapploader/win/unoapploader.c b/odk/source/unoapploader/win/unoapploader.c
index ee806f1b4976..762b554744b3 100644
--- a/odk/source/unoapploader/win/unoapploader.c
+++ b/odk/source/unoapploader/win/unoapploader.c
@@ -282,7 +282,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
* Gets the path of a UNO installation.
*
* @return the installation path or NULL, if no installation was specified or
- * found, or if an error occured
+ * found, or if an error occurred
*/
char const* getPath()
{
@@ -305,7 +305,7 @@ char const* getPath()
* the executable name
*
* @return the command line for the application process or NULL, if an error
- * occured
+ * occurred
*/
char* createCommandLine( char* appendix )
{