cid#703974 Unchecked return value
Change-Id: I833175e7687df88719d4d946cf97181158187c67 Reviewed-on: https://gerrit.libreoffice.org/75840 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -910,7 +910,7 @@ bool compileExtensionHelp
|
||||
sal_uInt64 ret, len = aFileStatus.getFileSize();
|
||||
std::unique_ptr<char[]> s(new char[ int(len) ]); // the buffer to hold the installed files
|
||||
osl::File aFile( aTreeFileURL );
|
||||
aFile.open( osl_File_OpenFlag_Read );
|
||||
(void)aFile.open( osl_File_OpenFlag_Read );
|
||||
aFile.read( s.get(), len, ret );
|
||||
aFile.close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user