diff options
Diffstat (limited to 'qadevOOo/runner/util/SOfficeFactory.java')
-rw-r--r-- | qadevOOo/runner/util/SOfficeFactory.java | 10 |
1 files changed, 5 insertions, 5 deletions
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); } |