summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpdirp.cxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-03-17 08:36:26 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2013-04-18 21:34:46 +0200
commit9830fd36dbdb72c79703b0c61efc027fba793c5a (patch)
tree2e9d698e6ca109dc6627adb5c84aa2b635bcfe92 /ucb/source/ucp/ftp/ftpdirp.cxx
parent5aaaf0694b6e3213685563fc3bc90d19b10f5c75 (diff)
date/time IDL datatypes incompatible change
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
Diffstat (limited to 'ucb/source/ucp/ftp/ftpdirp.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpdirp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/ftp/ftpdirp.cxx b/ucb/source/ucp/ftp/ftpdirp.cxx
index 2e6bece679a9..87f38b88a569 100644
--- a/ucb/source/ucp/ftp/ftpdirp.cxx
+++ b/ucb/source/ucp/ftp/ftpdirp.cxx
@@ -828,7 +828,7 @@ sal_Bool FTPDirectoryParser::parseVMS (
/*
* Parse <minute> part and set entry time's minutes,
- * seconds (0), and 1/100 seconds (0).
+ * seconds (0), and nanoseconds (0).
*/
if (*p < '0' || *p > '5')
return sal_False;
@@ -840,7 +840,7 @@ sal_Bool FTPDirectoryParser::parseVMS (
nMinute = 10 * nMinute + (*p++ - '0');
rEntry.m_aDate.SetMin(nMinute);
rEntry.m_aDate.SetSec(0);
- rEntry.m_aDate.Set100Sec(0);
+ rEntry.m_aDate.SetNanoSec(0);
// Skip <rest> part:
if (*p && (*p != '\t' && *p != ' '))
@@ -1202,7 +1202,7 @@ sal_Bool FTPDirectoryParser::parseUNIX_isTime (
rDateTime.SetHour (nHour);
rDateTime.SetMin (nMin);
rDateTime.SetSec (0);
- rDateTime.Set100Sec (0);
+ rDateTime.SetNanoSec (0);
// Date aCurDate;
// if (rDateTime.GetMonth() > aCurDate.GetMonth())