diff options
author | Ocke.Janssen <Ocke.Janssen@oracle.com> | 2011-01-20 15:58:09 +0100 |
---|---|---|
committer | Ocke.Janssen <Ocke.Janssen@oracle.com> | 2011-01-20 15:58:09 +0100 |
commit | 9840529f8ad4c8f3ed8932db1af2c11b662b18c7 (patch) | |
tree | 513478e8b707a8ea08e8e023315ad3645645b2c4 /wizards/com/sun/star/wizards/report/CallReportWizard.java | |
parent | e0c1daa9561ff447351135f3318d1a1183077212 (diff) |
dba34d: some refactoring
Diffstat (limited to 'wizards/com/sun/star/wizards/report/CallReportWizard.java')
-rw-r--r-- | wizards/com/sun/star/wizards/report/CallReportWizard.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/report/CallReportWizard.java b/wizards/com/sun/star/wizards/report/CallReportWizard.java index fc0a60447cd3..31d4555757ee 100644 --- a/wizards/com/sun/star/wizards/report/CallReportWizard.java +++ b/wizards/com/sun/star/wizards/report/CallReportWizard.java @@ -32,6 +32,7 @@ import com.sun.star.text.XTextDocument; import com.sun.star.wizards.common.Properties; import com.sun.star.sdb.application.XDatabaseDocumentUI; import com.sun.star.wizards.common.NamedValueCollection; +import com.sun.star.wizards.common.PropertyNames; import java.util.logging.Level; import java.util.logging.Logger; @@ -115,7 +116,7 @@ public class CallReportWizard { try { - if (sEvent.compareTo("start") == 0) + if (sEvent.compareTo(PropertyNames.START) == 0) { if (bWizardstartedalready != true) { @@ -213,7 +214,7 @@ public class CallReportWizard try { - byteReturn = ("" + this.hashCode()).getBytes(); + byteReturn = (PropertyNames.EMPTY_STRING + this.hashCode()).getBytes(); } catch (Exception e) { |