summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-03 14:57:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-04 07:18:23 +0100
commite6fdeed56d8a48f16b818979f2a77c758c31a9d9 (patch)
tree80240bb539d511c3c33f0fb31c47ed7c14ee683c /ucb
parent97b008d0e3a76d5b21ca6cc06fd84a90ed4593de (diff)
drop ULONG typedef
Change-Id: I25d0851bd82838f12a4edb3eb9f322bdf30cc175 Reviewed-on: https://gerrit.libreoffice.org/47342 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/ftp/ftpdirp.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/ucp/ftp/ftpdirp.cxx b/ucb/source/ucp/ftp/ftpdirp.cxx
index 98cd4dbccf76..f4ab59afbbe8 100644
--- a/ucb/source/ucp/ftp/ftpdirp.cxx
+++ b/ucb/source/ucp/ftp/ftpdirp.cxx
@@ -29,8 +29,6 @@
using namespace ftp;
-typedef sal_uInt32 ULONG;
-
inline bool ascii_isWhitespace( sal_Unicode ch )
{
return ((ch <= 0x20) && ch);
@@ -552,7 +550,7 @@ bool FTPDirectoryParser::parseDOS (
* The READ, WRITE, and ISLINK mode bits are not supported.
*
* The returned size is the <size> part, multiplied by 512, and with the high
- * order bits truncated to fit into a ULONG.
+ * order bits truncated to fit into a sal_uInt32.
*
*/
bool FTPDirectoryParser::parseVMS (
@@ -680,7 +678,7 @@ bool FTPDirectoryParser::parseVMS (
// Parse <size> part and set entry's size:
if (*p < '0' || *p > '9')
return false;
- ULONG nSize = *p - '0';
+ sal_uInt32 nSize = *p - '0';
if (*p++ != '0')
while (*p >= '0' && *p <= '9')
nSize = 10 * rEntry.m_nSize + (*p++ - '0');