summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-05-30 17:20:50 +0300
committerCaolán McNamara <caolanm@redhat.com>2016-07-05 09:35:40 +0000
commitb6b34d538398f8214daa5b160f764dc8b82ff9c5 (patch)
tree9ffb350c9cbd293618fab09efcff6c8ad06151b3 /ucb
parent4ed2a7305f80192bdbe2eace48c4ee65e9938f7d (diff)
Clarify calculation precedence tdf#39440
Use parentheses to clarify the code. Change-Id: I864dc6dacadb5b9ba9dca8e0abd9fa4e6db1eddc Reviewed-on: https://gerrit.libreoffice.org/25677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx
index 34e560eaf0f7..8e73b4908c8c 100644
--- a/ucb/source/ucp/ftp/ftpcontent.cxx
+++ b/ucb/source/ucp/ftp/ftpcontent.cxx
@@ -801,7 +801,7 @@ Reference< XRow > FTPContent::getPropertyValues(
else if(aDirEntry.m_nMode != INETCOREFTP_FILEMODE_UNKNOWN) {
if(Name == "ContentType")
xRow->appendString(seqProp[i],
- aDirEntry.m_nMode&INETCOREFTP_FILEMODE_ISDIR
+ (aDirEntry.m_nMode & INETCOREFTP_FILEMODE_ISDIR)
? OUString(FTP_FOLDER)
: OUString(FTP_FILE) );
else if(Name == "IsReadOnly")