diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-19 16:03:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-05 08:23:29 +0200 |
commit | 43cc8ad33e815522e2b23ac87a4a9c4526cd85c9 (patch) | |
tree | b042266508f8b084bc7bbe9cc57250a971311099 /unotest/source/java/org/openoffice/test/tools/DocumentType.java | |
parent | cfcbe2e44e33f4a60e70006ff5e1cbb9aa2adceb (diff) |
java: remove dead code
found by UCDetector
Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
Diffstat (limited to 'unotest/source/java/org/openoffice/test/tools/DocumentType.java')
-rw-r--r-- | unotest/source/java/org/openoffice/test/tools/DocumentType.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/unotest/source/java/org/openoffice/test/tools/DocumentType.java b/unotest/source/java/org/openoffice/test/tools/DocumentType.java index 6b2e9700024e..bb4745f7b3c7 100644 --- a/unotest/source/java/org/openoffice/test/tools/DocumentType.java +++ b/unotest/source/java/org/openoffice/test/tools/DocumentType.java @@ -26,11 +26,6 @@ public class DocumentType extends com.sun.star.uno.Enum super( value ); } - public static DocumentType getDefault() - { - return WRITER; - } - public static final DocumentType WRITER = new DocumentType(0); public static final DocumentType CALC = new DocumentType(1); public static final DocumentType DRAWING = new DocumentType(2); @@ -39,17 +34,4 @@ public class DocumentType extends com.sun.star.uno.Enum public static final DocumentType FORMULA = new DocumentType(5); public static final DocumentType UNKNOWN = new DocumentType(-1); - public static DocumentType fromInt(int value) - { - switch(value) - { - case 0: return WRITER; - case 1: return CALC; - case 2: return DRAWING; - case 3: return XMLFORM; - case 4: return PRESENTATION; - case 5: return FORMULA; - default: return UNKNOWN; - } - } } |