summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/form/FormWizard.java
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/form/FormWizard.java')
-rw-r--r--wizards/com/sun/star/wizards/form/FormWizard.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/wizards/com/sun/star/wizards/form/FormWizard.java b/wizards/com/sun/star/wizards/form/FormWizard.java
index bc49311be433..cff52f46229b 100644
--- a/wizards/com/sun/star/wizards/form/FormWizard.java
+++ b/wizards/com/sun/star/wizards/form/FormWizard.java
@@ -56,8 +56,8 @@ public class FormWizard extends DatabaseObjectWizard
private Finalizer curFinalizer;
private static String slblFields;
private static String slblSelFields;
- private String sShowBinaryFields = "";
- private String serrFormNameexists = "";
+ private String sShowBinaryFields = PropertyNames.EMPTY_STRING;
+ private String serrFormNameexists = PropertyNames.EMPTY_STRING;
public static final int SOMAIN_PAGE = 1;
public static final int SOSUBFORM_PAGE = 2;
public static final int SOSUBFORMFIELDS_PAGE = 3;
@@ -89,7 +89,7 @@ public class FormWizard extends DatabaseObjectWizard
210, Boolean.TRUE, "DialogForm", 102, 41, 1, new Short((short) 0), m_oResource.getResText(UIConsts.RID_FORM), 310
});
drawNaviBar();
- if (getFormResources() == true)
+ if (getFormResources())
{
setRightPaneHeaders(m_oResource, UIConsts.RID_FORM + 90, 8);
}
@@ -343,7 +343,7 @@ public class FormWizard extends DatabaseObjectWizard
{
curFormDocument.oSubFormDBMetaData.getConnection(new PropertyValue[]
{
- Properties.createProperty("ActiveConnection", curFormDocument.oMainFormDBMetaData.DBConnection)
+ Properties.createProperty(PropertyNames.ACTIVE_CONNECTION, curFormDocument.oMainFormDBMetaData.DBConnection)
});
curFormDocument.xProgressBar.setValue(20);
buildSteps();
@@ -398,7 +398,7 @@ public class FormWizard extends DatabaseObjectWizard
ID = 1;
if (sIncSuffix != null)
{
- if ((!sIncSuffix.equals("")) && (!sIncSuffix.equals("_")))
+ if ((!sIncSuffix.equals(PropertyNames.EMPTY_STRING)) && (!sIncSuffix.equals("_")))
{
String sID = JavaTools.ArrayoutofString(sIncSuffix, "_")[1];
ID = Integer.parseInt(sID);
@@ -461,7 +461,7 @@ public class FormWizard extends DatabaseObjectWizard
curDBCommandFieldSelection.setModified(true);
boolean benable = curDBCommandFieldSelection.getSelectedFieldNames().length > 0;
enablefromStep(SOSUBFORM_PAGE, benable);
- setControlProperty("btnWizardNext", PropertyNames.PROPERTY_ENABLED, new Boolean(benable));
+ setControlProperty("btnWizardNext", PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(benable));
if (benable)
{
if (curFormConfiguration.hasSubForm())
@@ -474,7 +474,7 @@ public class FormWizard extends DatabaseObjectWizard
setStepEnabled(SOFIELDLINKER_PAGE, false);
}
}
- setControlProperty("btnWizardFinish", PropertyNames.PROPERTY_ENABLED, new Boolean(benable));
+ setControlProperty("btnWizardFinish", PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(benable));
}
}
}