diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-30 08:36:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-30 08:44:42 +0200 |
commit | 4d8e3aa060ca3612c337b52db0df4548cba68873 (patch) | |
tree | 99e21aed91f0412453f9c4d6267e5e5afb7429df /ucb/source/ucp/ftp/ftpurl.cxx | |
parent | 6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (diff) |
ucb: sal_Bool->bool
Change-Id: If79913653f22387ab6d5a376d9cf26751525168a
Diffstat (limited to 'ucb/source/ucp/ftp/ftpurl.cxx')
-rw-r--r-- | ucb/source/ucp/ftp/ftpurl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index 69693d6f1533..6b176a524c47 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -492,8 +492,7 @@ std::vector<FTPDirentry> FTPURL::list( if( osKind != int(FTP_UNKNOWN) && aDirEntry.m_aName != ".." && aDirEntry.m_aName != "." ) { aDirEntry.m_aURL = viewurl + encodePathSegment(aDirEntry.m_aName); - sal_Bool isDir = - sal_Bool(aDirEntry.m_nMode&INETCOREFTP_FILEMODE_ISDIR); + bool isDir = (aDirEntry.m_nMode & INETCOREFTP_FILEMODE_ISDIR) == INETCOREFTP_FILEMODE_ISDIR; switch(nMode) { case OpenMode::DOCUMENTS: if(!isDir) |