diff options
Diffstat (limited to 'sfx2/qa')
-rw-r--r-- | sfx2/qa/complex/sfx2/DocumentEvents.java | 2 | ||||
-rw-r--r-- | sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java | 2 | ||||
-rw-r--r-- | sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/qa/complex/sfx2/DocumentEvents.java b/sfx2/qa/complex/sfx2/DocumentEvents.java index f6978a5bd87e..8f657d62e673 100644 --- a/sfx2/qa/complex/sfx2/DocumentEvents.java +++ b/sfx2/qa/complex/sfx2/DocumentEvents.java @@ -105,7 +105,7 @@ public class DocumentEvents extends JUnitBasedTest } //@Test - public void testCloseByAPI() throws Exception + public void testCloseByAPI() { impl_setupDocCloseTest(); // closing the doc by API is synchronous, so do this in a separate thread, else we will get a deadlock diff --git a/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java b/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java index 75981d7a66d0..7d2b22975671 100644 --- a/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java +++ b/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java @@ -47,7 +47,7 @@ import static org.junit.Assert.*; public class ChartDocumentTest implements DocumentTest { - public ChartDocumentTest( final XMultiServiceFactory i_orb ) throws com.sun.star.uno.Exception, InterruptedException + public ChartDocumentTest( final XMultiServiceFactory i_orb ) throws com.sun.star.uno.Exception { m_textDocument = OfficeDocument.blankDocument( i_orb, DocumentType.WRITER ); diff --git a/sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java b/sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java index 12f6283edece..67dbb17295d1 100644 --- a/sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java +++ b/sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java @@ -165,7 +165,6 @@ public abstract class DrawingOrPresentationDocumentTest extends DocumentTestBase * verifies the given shape has the given size */ private void verifyShapeGeometry( final Object i_shapeObject, final int i_expectedWidth, final int i_expectedHeight ) - throws com.sun.star.uno.Exception { final XShape shape = UnoRuntime.queryInterface( XShape.class, i_shapeObject ); final Size shapeSize = shape.getSize(); |