summaryrefslogtreecommitdiff
path: root/sfx2/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-06 09:01:06 +0200
committerNoel Grandin <noel@peralex.com>2014-08-12 09:41:29 +0200
commitd1d2d3296b9f98a5144022612d03f6cb419164e5 (patch)
treeee65efeaa3d9f168df71704e4a5bb833f378d73f /sfx2/qa
parentb082fc648fbc4c43f992645df10187ca8fe4a584 (diff)
java: remove exceptions from throws clauses that are not actually thrown
Change-Id: I9d0f9242c911d9dd05f2229da44a2e8305b3df6a
Diffstat (limited to 'sfx2/qa')
-rw-r--r--sfx2/qa/complex/sfx2/DocumentEvents.java2
-rw-r--r--sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java2
-rw-r--r--sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java1
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();