diff options
-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(); |