summaryrefslogtreecommitdiff
path: root/sw/qa/complex
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/complex')
-rw-r--r--sw/qa/complex/writer/LoadSaveTest.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/sw/qa/complex/writer/LoadSaveTest.java b/sw/qa/complex/writer/LoadSaveTest.java
index e6027b6a7e94..f617a93d8b42 100644
--- a/sw/qa/complex/writer/LoadSaveTest.java
+++ b/sw/qa/complex/writer/LoadSaveTest.java
@@ -20,8 +20,6 @@ package complex.writer;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XComponentContext;
-import com.sun.star.lang.WrappedTargetException;
-import com.sun.star.lang.WrappedTargetRuntimeException;
import com.sun.star.lang.EventObject;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.lang.XComponent;
@@ -165,29 +163,10 @@ public class LoadSaveTest
public void disposing(EventObject Event) { }
}
- void report2(Exception e)
- {
- if (e instanceof WrappedTargetException)
- {
- System.out.println("Cause:");
- Exception cause = (Exception)
- (((WrappedTargetException)e).TargetException);
- System.out.println(cause.toString());
- report2(cause);
- } else if (e instanceof WrappedTargetRuntimeException) {
- System.out.println("Cause:");
- Exception cause = (Exception)
- (((WrappedTargetRuntimeException)e).TargetException);
- System.out.println(cause.toString());
- report2(cause);
- }
- }
-
void report(Exception e) {
System.out.println("Exception occurred:");
System.out.println(e.toString());
e.printStackTrace(System.err);
- report2(e);
// failed();
}