diff options
Diffstat (limited to 'ucb/source/ucp/ftp/ftpcontent.cxx')
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontent.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx index f1d72c72daf3..24c63ffbad2f 100644 --- a/ucb/source/ucp/ftp/ftpcontent.cxx +++ b/ucb/source/ucp/ftp/ftpcontent.cxx @@ -857,12 +857,12 @@ Reference< XRow > FTPContent::getPropertyValues( : 1 ); else if(Name.equalsAscii("IsDocument")) xRow->appendBoolean(seqProp[i], - ! sal_Bool(aDirEntry.m_nMode & - INETCOREFTP_FILEMODE_ISDIR)); + (aDirEntry.m_nMode & + INETCOREFTP_FILEMODE_ISDIR) != INETCOREFTP_FILEMODE_ISDIR); else if(Name.equalsAscii("IsFolder")) xRow->appendBoolean(seqProp[i], - sal_Bool(aDirEntry.m_nMode & - INETCOREFTP_FILEMODE_ISDIR)); + (aDirEntry.m_nMode & + INETCOREFTP_FILEMODE_ISDIR) == INETCOREFTP_FILEMODE_ISDIR); else if(Name.equalsAscii("Size")) xRow->appendLong(seqProp[i], aDirEntry.m_nSize); |