diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 15:29:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-08 09:48:20 +0200 |
commit | 616b3ad50404f35d84708b3feeb8c66f2f23f1b1 (patch) | |
tree | fbff023a34b3cc62b2c5beb592b95e65ce28251b /unotest | |
parent | b6a83e99c8f4442c3c96198ac816dcb99419a67e (diff) |
java: remove exceptions from throws clauses that are not
.. actually thrown
Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
Diffstat (limited to 'unotest')
-rw-r--r-- | unotest/source/java/org/openoffice/test/tools/SpreadsheetDocument.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotest/source/java/org/openoffice/test/tools/SpreadsheetDocument.java b/unotest/source/java/org/openoffice/test/tools/SpreadsheetDocument.java index 6b7c12324009..13a82db8ecfb 100644 --- a/unotest/source/java/org/openoffice/test/tools/SpreadsheetDocument.java +++ b/unotest/source/java/org/openoffice/test/tools/SpreadsheetDocument.java @@ -36,7 +36,7 @@ public class SpreadsheetDocument extends OfficeDocument } /* ------------------------------------------------------------------ */ - public SpreadsheetDocument( XMultiServiceFactory orb, XComponent document ) throws com.sun.star.uno.Exception + public SpreadsheetDocument( XMultiServiceFactory orb, XComponent document ) { super( orb, document ); } @@ -44,7 +44,7 @@ public class SpreadsheetDocument extends OfficeDocument /* ------------------------------------------------------------------ */ /** returns the sheets collection */ - public XSpreadsheets getSheets() throws com.sun.star.uno.Exception + public XSpreadsheets getSheets() { XSpreadsheetDocument spreadsheetDoc = UnoRuntime.queryInterface( XSpreadsheetDocument.class, getDocument() ); return spreadsheetDoc.getSheets(); |