diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 10:11:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 15:17:03 +0200 |
commit | 56f5a752f2e9e35887ec57de9e55a83d46a994c2 (patch) | |
tree | ed62aed979ffef0bb5c0f9f7eee595f0fba7cfa7 /xmlhelp | |
parent | 957afd1430062292ade17037d4705bd60652791d (diff) |
cid#704107 Unchecked return value
Change-Id: I6fb22b972a19b42787242d98d08fc425f5c0aea9
Reviewed-on: https://gerrit.libreoffice.org/75842
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/treeview/tvread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx index f11ae69d948e..72f28fef63c8 100644 --- a/xmlhelp/source/treeview/tvread.cxx +++ b/xmlhelp/source/treeview/tvread.cxx @@ -402,7 +402,7 @@ TVChildTarget::TVChildTarget( const Reference< XComponentContext >& xContext ) len = configData.vFileLen[--j]; std::unique_ptr<char[]> s(new char[ int(len) ]); // the buffer to hold the installed files osl::File aFile( configData.vFileURL[j] ); - aFile.open( osl_File_OpenFlag_Read ); + (void)aFile.open( osl_File_OpenFlag_Read ); aFile.read( s.get(),len,ret ); aFile.close(); |