summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/agenda/CallWizard.java
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/agenda/CallWizard.java')
-rw-r--r--wizards/com/sun/star/wizards/agenda/CallWizard.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/CallWizard.java b/wizards/com/sun/star/wizards/agenda/CallWizard.java
index 3dc8dcd8ef91..ae19b4ef311d 100644
--- a/wizards/com/sun/star/wizards/agenda/CallWizard.java
+++ b/wizards/com/sun/star/wizards/agenda/CallWizard.java
@@ -37,6 +37,7 @@ import com.sun.star.registry.XRegistryKey;
import com.sun.star.task.XJob;
import com.sun.star.task.XJobExecutor;
import com.sun.star.uno.Type;
+import com.sun.star.wizards.common.PropertyNames;
/**
* This class capsulates the class, that implements the minimal component, a factory for
@@ -100,7 +101,7 @@ public class CallWizard {
public void trigger(String str) {
try {
- if (str.equalsIgnoreCase("start")) {
+ if (str.equalsIgnoreCase(PropertyNames.START)) {
AgendaWizardDialogImpl aw = new AgendaWizardDialogImpl(xmultiservicefactory);
if (!AgendaWizardDialogImpl.running) {
aw.startWizard();
@@ -184,7 +185,7 @@ public class CallWizard {
};
try {
- byteReturn = ("" + this.hashCode()).getBytes();
+ byteReturn = (PropertyNames.EMPTY_STRING + this.hashCode()).getBytes();
} catch (Exception exception) {
System.err.println(exception);
}