Kaydet (Commit) 91a0a53e authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Caolán McNamara

Replace all occured, occurance etc.

üst 1d922012
...@@ -58,7 +58,7 @@ class Type_2s ...@@ -58,7 +58,7 @@ class Type_2s
/** Base of all IDL types. /** 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. parameter, return type or element type in UNO IDL code.
Some of them relate to a ->CodeEntity, but Some of them relate to a ->CodeEntity, but
the ->Type "MyInterface" is something different than the ->Type "MyInterface" is something different than
......
...@@ -44,7 +44,7 @@ class CrossReferences ...@@ -44,7 +44,7 @@ class CrossReferences
public: public:
typedef TYPES::element_type element; typedef TYPES::element_type element;
/// Checks for double occurences /// Checks for double occurrences
void Add( void Add(
VALUE_LIST::index_type VALUE_LIST::index_type
i_nPosition i_nPosition
......
...@@ -44,7 +44,7 @@ template <class XY> class SortedIdSet; ...@@ -44,7 +44,7 @@ template <class XY> class SortedIdSet;
class Interface_2s class Interface_2s
{ {
public: public:
/// Checks for double occurences /// Checks for double occurrences
void Add_ExportingService( void Add_ExportingService(
Ce_id i_nId ); Ce_id i_nId );
void Get_ExportingServices( void Get_ExportingServices(
......
...@@ -56,7 +56,7 @@ class TokenProcessing_Types ...@@ -56,7 +56,7 @@ class TokenProcessing_Types
stay, // same parse environment stay, // same parse environment
push, // push sub environment push, // push sub environment
pop_success, // return to parent environment, parsing was successful 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 struct TokenProcessing_Result
......
...@@ -64,7 +64,7 @@ class TokenProcessing_Types ...@@ -64,7 +64,7 @@ class TokenProcessing_Types
push_sure, // push sub environment, which must be the correct one 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 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_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 struct TokenProcessing_Result
......
...@@ -65,7 +65,7 @@ class TokenParse2 ...@@ -65,7 +65,7 @@ class TokenParse2
source code. source code.
@return true, if there was passed a valid token. @return true, if there was passed a valid token.
false, if the parsed stream is finished or false, if the parsed stream is finished or
an error occured. an error occurred.
*/ */
bool GetNextToken(); bool GetNextToken();
......
How to write my own sdbc driver How to write my own sdbc driver
Pre implementation steps 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 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 2. Implement a class called connection -> have a look at SConnection.?xx
......
...@@ -219,7 +219,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan ...@@ -219,7 +219,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
public void resetted( EventObject aEvent ) throws com.sun.star.uno.RuntimeException 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 ); XPropertySet xFormProps = UNO.queryPropertySet( aEvent.Source );
try try
{ {
......
...@@ -249,7 +249,7 @@ class KeyGeneratorForReset extends UniqueColumnValue implements XResetListener ...@@ -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 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 ); XPropertySet xFormProps = UNO.queryPropertySet( aEvent.Source );
try try
{ {
......
...@@ -410,7 +410,7 @@ public class FunctionHelper ...@@ -410,7 +410,7 @@ public class FunctionHelper
catch(com.sun.star.uno.Exception exUno) catch(com.sun.star.uno.Exception exUno)
{ {
// "createInstance()" method of used service manager can throw it. // "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. // 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. // Without the desktop service that wasn't possible. So no further rollbacks must follow.
if(xFrame!=null) if(xFrame!=null)
......
...@@ -916,7 +916,7 @@ public class ToDo { ...@@ -916,7 +916,7 @@ public class ToDo {
/** Writing the stack trace from an exception to a string and calling /** Writing the stack trace from an exception to a string and calling
* the method showMessage() with this string. * the method showMessage() with this string.
* @param exception The occured exception. * @param exception The occurred exception.
* @see showMessage * @see showMessage
*/ */
public void showExceptionMessage( Exception exception ) { public void showExceptionMessage( Exception exception ) {
......
...@@ -79,7 +79,7 @@ final class InstallationFinder { ...@@ -79,7 +79,7 @@ final class InstallationFinder {
* Gets the path of a UNO installation. * Gets the path of a UNO installation.
* *
* @return the installation path or <code>null</code>, if no 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() { public static String getPath() {
...@@ -140,7 +140,7 @@ final class InstallationFinder { ...@@ -140,7 +140,7 @@ final class InstallationFinder {
* java -D<property name>=<installation path> -jar application.jar.</p> * java -D<property name>=<installation path> -jar application.jar.</p>
* *
* @return the installation path or <code>null</code>, if no installation * @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 ) { private static String getPathFromProperty( String prop ) {
...@@ -164,7 +164,7 @@ final class InstallationFinder { ...@@ -164,7 +164,7 @@ final class InstallationFinder {
* Java versions.</p> * Java versions.</p>
* *
* @return the installation path or <code>null</code>, if no installation * @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 ) { private static String getPathFromEnvVar( String var ) {
...@@ -188,7 +188,7 @@ final class InstallationFinder { ...@@ -188,7 +188,7 @@ final class InstallationFinder {
* <p>This method is called on the Windows platform only.</p> * <p>This method is called on the Windows platform only.</p>
* *
* @return the installation path or <code>null</code>, if no installation * @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() { private static String getPathFromWindowsRegistry() {
...@@ -227,7 +227,7 @@ final class InstallationFinder { ...@@ -227,7 +227,7 @@ final class InstallationFinder {
* Java versions.</p> * Java versions.</p>
* *
* @return the installation path or <code>null</code>, if no installation * @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() { private static String getPathFromPathEnvVar() {
...@@ -286,7 +286,7 @@ final class InstallationFinder { ...@@ -286,7 +286,7 @@ final class InstallationFinder {
* is in one of the directories listed in the PATH environment variable.</p> * is in one of the directories listed in the PATH environment variable.</p>
* *
* @return the installation path or <code>null</code>, if no installation * @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() { private static String getPathFromWhich() {
...@@ -382,7 +382,7 @@ final class InstallationFinder { ...@@ -382,7 +382,7 @@ final class InstallationFinder {
* OOo 2.0.</p> * OOo 2.0.</p>
* *
* @return the installation path or <code>null</code>, if no installation * @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() { private static String getPathFromSVersionFile() {
......
...@@ -231,7 +231,7 @@ int main( int argc, char *argv[] ) ...@@ -231,7 +231,7 @@ int main( int argc, char *argv[] )
* Gets the path of a UNO installation. * Gets the path of a UNO installation.
* *
* @return the installation path or NULL, if no installation was specified or * @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() char const* getPath()
{ {
...@@ -255,7 +255,7 @@ char const* getPath() ...@@ -255,7 +255,7 @@ char const* getPath()
* *
* @param argv0 specifies the argv[0] parameter of the main function * @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 ) char* createCommandName( char* argv0 )
{ {
......
...@@ -282,7 +282,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, ...@@ -282,7 +282,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
* Gets the path of a UNO installation. * Gets the path of a UNO installation.
* *
* @return the installation path or NULL, if no installation was specified or * @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() char const* getPath()
{ {
...@@ -305,7 +305,7 @@ char const* getPath() ...@@ -305,7 +305,7 @@ char const* getPath()
* the executable name * the executable name
* *
* @return the command line for the application process or NULL, if an error * @return the command line for the application process or NULL, if an error
* occured * occurred
*/ */
char* createCommandLine( char* appendix ) char* createCommandLine( char* appendix )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment