diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 10:24:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-19 09:43:27 +0200 |
commit | ff17310476041ab44cd312731f83fa7891bac599 (patch) | |
tree | 56eaa20f9ce2aa7eb7c9f094ad5be493d4887f0a /basic | |
parent | ba9c0b8565428f600b443fd4c2a5876892a91d77 (diff) |
cid#1448256 Unchecked return value
Change-Id: I13c95bdbfc3161cca3b136266c5fd2e57b34a093
Reviewed-on: https://gerrit.libreoffice.org/75870
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/methods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index de9b5f91badd..1119adf3d9e1 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -777,7 +777,7 @@ void SbRtl_FileLen(StarBASIC *, SbxArray & rPar, bool) else { DirectoryItem aItem; - DirectoryItem::get( getFullPath( aStr ), aItem ); + (void)DirectoryItem::get( getFullPath( aStr ), aItem ); FileStatus aFileStatus( osl_FileStatus_Mask_FileSize ); aItem.getFileStatus( aFileStatus ); nLen = static_cast<sal_Int32>(aFileStatus.getFileSize()); |