diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-12 15:27:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-14 13:44:39 +0200 |
commit | b9d63d49be66ed1bfc4a76924f1c52ec3630adc8 (patch) | |
tree | 3c1f0cb02452d23bed03cbbc908e580b285da55a /wizards/com/sun/star | |
parent | 8353667d35bc511378c9b14261b6bb11b7bd56aa (diff) |
remove some unused Java code
found by UCDetector
Change-Id: Ic0295a24b26e206eb53eda2da540755477df86df
Diffstat (limited to 'wizards/com/sun/star')
4 files changed, 3 insertions, 6 deletions
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java b/wizards/com/sun/star/wizards/common/FileAccess.java index 02357fe499aa..8f74c602a4bb 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.java +++ b/wizards/com/sun/star/wizards/common/FileAccess.java @@ -28,13 +28,11 @@ import java.util.Vector; import com.sun.star.io.XActiveDataSink; import com.sun.star.io.XInputStream; import com.sun.star.io.XTextInputStream; -import com.sun.star.lang.Locale; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.ucb.CommandAbortedException; import com.sun.star.ucb.XFileIdentifierConverter; import com.sun.star.ucb.XSimpleFileAccess; import com.sun.star.ucb.XSimpleFileAccess2; -import com.sun.star.uno.Exception; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; import com.sun.star.beans.PropertyValue; diff --git a/wizards/com/sun/star/wizards/common/ParaStyled.java b/wizards/com/sun/star/wizards/common/ParaStyled.java index 492a75bbe74f..6046571b7da2 100644 --- a/wizards/com/sun/star/wizards/common/ParaStyled.java +++ b/wizards/com/sun/star/wizards/common/ParaStyled.java @@ -31,7 +31,7 @@ class ParaStyled paraStyle = paraStyle_; } - void format(Object textRange) + private void format(Object textRange) { XText o; o = UnoRuntime.queryInterface(XText.class, textRange); diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.java b/wizards/com/sun/star/wizards/document/OfficeDocument.java index 965e640a06cc..0f02623697aa 100644 --- a/wizards/com/sun/star/wizards/document/OfficeDocument.java +++ b/wizards/com/sun/star/wizards/document/OfficeDocument.java @@ -17,7 +17,6 @@ */ package com.sun.star.wizards.document; -import com.sun.star.lang.IllegalArgumentException; import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.wizards.common.*; diff --git a/wizards/com/sun/star/wizards/table/TableWizard.java b/wizards/com/sun/star/wizards/table/TableWizard.java index f23647d2f185..fc8a705552e8 100644 --- a/wizards/com/sun/star/wizards/table/TableWizard.java +++ b/wizards/com/sun/star/wizards/table/TableWizard.java @@ -45,7 +45,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener private FieldFormatter curFieldFormatter; private PrimaryKeyHandler curPrimaryKeyHandler; HashMap<String, FieldDescription> fielditems; - int wizardmode; + private int wizardmode; private String tablename; private String serrToManyFields; private String serrTableNameexists; @@ -127,7 +127,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener } - public boolean iscompleted(int _ndialogpage) + private boolean iscompleted(int _ndialogpage) { switch (_ndialogpage) { |