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
/** 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
......
......@@ -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
......
......@@ -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(
......
......@@ -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
......
......@@ -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
......
......@@ -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();
......
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
......
......@@ -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
{
......
......@@ -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
{
......
......@@ -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)
......
......@@ -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 ) {
......
......@@ -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() {
......
......@@ -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 )
{
......
......@@ -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 )
{
......
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