From 22248b89c07533e28026dea66c5cb73d023293c6 Mon Sep 17 00:00:00 2001 From: Robert Antoni Buj i Gelonch Date: Wed, 8 Oct 2014 22:27:34 +0200 Subject: complex: Use 'import com.sun.star.beans.UnknownPropertyException;' Change-Id: Ib42baf6f18fd407a879313c042efd74c8f724aa4 Reviewed-on: https://gerrit.libreoffice.org/11864 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java index 4d54ef1a04f6..56d072cf07d2 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; } -- cgit v1.2.3