summaryrefslogtreecommitdiffstats
path: root/qadevOOo/runner/util
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util')
-rw-r--r--qadevOOo/runner/util/FormTools.java8
-rw-r--r--qadevOOo/runner/util/SOfficeFactory.java10
2 files changed, 9 insertions, 9 deletions
diff --git a/qadevOOo/runner/util/FormTools.java b/qadevOOo/runner/util/FormTools.java
index 19d53f60f7c9..9b6a3ae6db6d 100644
--- a/qadevOOo/runner/util/FormTools.java
+++ b/qadevOOo/runner/util/FormTools.java
@@ -81,7 +81,7 @@ public class FormTools {
oCShape.setSize(size);
oCShape.setPosition(position);
} catch ( com.sun.star.uno.Exception e ) {
- // Some exception occures.FAILED
+ // Some exception occurs.FAILED
System.out.println( "Couldn't create instance "+ e );
}
@@ -117,7 +117,7 @@ public class FormTools {
} catch ( com.sun.star.uno.Exception e ) {
- // Some exception occures.FAILED
+ // Some exception occurs.FAILED
System.out.println( "Couldn't create instance "+ e );
}
@@ -152,7 +152,7 @@ public class FormTools {
} catch ( com.sun.star.uno.Exception e ) {
- // Some exception occures.FAILED
+ // Some exception occurs.FAILED
System.out.println( "Couldn't create instance "+ e );
}
@@ -171,7 +171,7 @@ public class FormTools {
oControl = (XInterface) oDocMSF.createInstance(
"com.sun.star.form.component."+kind);
} catch ( Exception e ) {
- // Some exception occures.FAILED
+ // Some exception occurs.FAILED
System.out.println( "Couldn't create instance "+ kind + ": "+ e );
}
return oControl;
diff --git a/qadevOOo/runner/util/SOfficeFactory.java b/qadevOOo/runner/util/SOfficeFactory.java
index d90fdfca7587..2a0f0ed0fc22 100644
--- a/qadevOOo/runner/util/SOfficeFactory.java
+++ b/qadevOOo/runner/util/SOfficeFactory.java
@@ -438,7 +438,7 @@ public class SOfficeFactory {
oInterface = (XInterface) oDocMSF.createInstance("com.sun.star.chart." + kind);
oDiagram = UnoRuntime.queryInterface(XDiagram.class, oInterface);
} catch (Exception e) {
- // Some exception occures.FAILED
+ // Some exception occurs.FAILED
System.out.println("Couldn't create " + kind + "-Diagram " + e);
}
return oDiagram;
@@ -456,7 +456,7 @@ public class SOfficeFactory {
try {
oControl = (XInterface) oDocMSF.createInstance("com.sun.star.form.component." + kind);
} catch (Exception e) {
- // Some exception occures.FAILED
+ // Some exception occurs.FAILED
System.out.println("Couldn't create instance " + kind + ": " + e);
}
return oControl;
@@ -474,7 +474,7 @@ public class SOfficeFactory {
try {
oInstance = oDocMSF.createInstance(kind);
} catch (Exception e) {
- // Some exception occures.FAILED
+ // Some exception occurs.FAILED
System.out.println("Couldn't create instance " + kind + ": " + e);
}
return oInstance;
@@ -504,14 +504,14 @@ public class SOfficeFactory {
} catch (Exception e) {
- // Some exception occures.FAILED
+ // Some exception occurs.FAILED
System.out.println("Couldn't create instance " + e);
}
try {
oCShape.setControl(aControl);
} catch (Exception e) {
- // Some exception occures.FAILED
+ // Some exception occurs.FAILED
System.out.println("Couldn't get Control " + e);
}