summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-18 11:06:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-19 00:01:07 +0200
commit6568ee89f4087172839698cdce453978854e4ff7 (patch)
tree51a3811702a3b737d6e30aec5d631d0d67892e1d
parent7037fe070ba81fb3dd8dfc03a7ddeb5090b2288f (diff)
cid#1448437 Unchecked return value
Change-Id: I2dec7a66f5609b1e34d9b337f8c562440d3f5132 Reviewed-on: https://gerrit.libreoffice.org/75891 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--ucb/source/ucp/file/filtask.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx
index 3c54c50b8ed4..dd19b6edc7c3 100644
--- a/ucb/source/ucp/file/filtask.cxx
+++ b/ucb/source/ucp/file/filtask.cxx
@@ -1167,8 +1167,8 @@ TaskManager::move( sal_Int32 CommandId,
osl::FileStatus aStatus(osl_FileStatus_Mask_Type|osl_FileStatus_Mask_LinkTargetURL);
osl::DirectoryItem aItem;
- osl::DirectoryItem::get(dstUnqPath,aItem);
- aItem.getFileStatus(aStatus);
+ (void)osl::DirectoryItem::get(dstUnqPath,aItem);
+ (void)aItem.getFileStatus(aStatus);
if( aStatus.isValid(osl_FileStatus_Mask_Type) &&
aStatus.isValid(osl_FileStatus_Mask_LinkTargetURL) &&