[Libreoffice-commits] core.git: toolkit/qa
Robert Antoni Buj i Gelonch
robert.buj at gmail.com
Wed Oct 8 13:30:25 PDT 2014
toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 22248b89c07533e28026dea66c5cb73d023293c6
Author: Robert Antoni Buj i Gelonch <robert.buj at gmail.com>
Date: Wed Oct 8 22:27:34 2014 +0200
complex: Use 'import com.sun.star.beans.UnknownPropertyException;'
Change-Id: Ib42baf6f18fd407a879313c042efd74c8f724aa4
Reviewed-on: https://gerrit.libreoffice.org/11864
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java
index 4d54ef1..56d072c 100644
--- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java
+++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java
@@ -236,7 +236,7 @@ public class _XAccessibleText {
} catch(com.sun.star.lang.IndexOutOfBoundsException e) {
System.out.println("Expected exception");
res &= true;
- } catch(com.sun.star.beans.UnknownPropertyException e) {
+ } catch(UnknownPropertyException e) {
System.out.println("unexpected exception => FAILED");
res &= false;
}
@@ -249,7 +249,7 @@ public class _XAccessibleText {
} catch(com.sun.star.lang.IndexOutOfBoundsException e) {
System.out.println("Expected exception");
res &= true;
- } catch(com.sun.star.beans.UnknownPropertyException e) {
+ } catch(UnknownPropertyException e) {
System.out.println("unexpected exception => FAILED");
res &= false;
}
@@ -264,7 +264,7 @@ public class _XAccessibleText {
System.out.println("Unexpected exception");
e.printStackTrace();
res &= false;
- } catch(com.sun.star.beans.UnknownPropertyException e) {
+ } catch(UnknownPropertyException e) {
System.out.println("unexpected exception => FAILED");
res &= false;
}
More information about the Libreoffice-commits
mailing list