diff options
Diffstat (limited to 'wizards/com/sun/star/wizards/common/JavaTools.java')
-rw-r--r-- | wizards/com/sun/star/wizards/common/JavaTools.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/common/JavaTools.java b/wizards/com/sun/star/wizards/common/JavaTools.java index 4d003b0c2470..37004bd4efff 100644 --- a/wizards/com/sun/star/wizards/common/JavaTools.java +++ b/wizards/com/sun/star/wizards/common/JavaTools.java @@ -433,7 +433,7 @@ public class JavaTools dt.Hours = (short) cal.get(Calendar.HOUR); dt.Minutes = (short) cal.get(Calendar.MINUTE); dt.Seconds = (short) cal.get(Calendar.SECOND); - dt.HundredthSeconds = (short) cal.get(Calendar.MILLISECOND); + dt.NanoSeconds = cal.get(Calendar.MILLISECOND)*1000000; return dt; } |