diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 10:10:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 15:16:50 +0200 |
commit | 957afd1430062292ade17037d4705bd60652791d (patch) | |
tree | 1c6a85e06e09cc5d9ae62932ab8032eb8a9bd823 /xmlhelp/source | |
parent | 3f4f42ed9beeb38092de044ccde1828b32a787c2 (diff) |
cid#704106 Unchecked return value
Change-Id: Ic0a9d173c24af8962539b00207b8dd24cbbcdbc0
Reviewed-on: https://gerrit.libreoffice.org/75841
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmlhelp/source')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/urlparameter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index e65d414bd97e..d77c70552bb9 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -565,7 +565,7 @@ helpMatch(const char * URI) { static void * fileOpen(const char *URI) { osl::File *pRet = new osl::File(OUString(URI, strlen(URI), RTL_TEXTENCODING_UTF8)); - pRet->open(osl_File_OpenFlag_Read); + (void)pRet->open(osl_File_OpenFlag_Read); return pRet; } |