[Libreoffice-commits] core.git: filter/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 18 12:47:18 UTC 2019


 filter/source/xsltdialog/xmlfilterjar.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3f4f42ed9beeb38092de044ccde1828b32a787c2
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 18 10:08:24 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jul 18 14:46:09 2019 +0200

    cid#703960 Unchecked return value
    
    Change-Id: I679e9e91261d468f2f2ee08f840ac3043d87817c
    Reviewed-on: https://gerrit.libreoffice.org/75839
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/filter/source/xsltdialog/xmlfilterjar.cxx b/filter/source/xsltdialog/xmlfilterjar.cxx
index de8b2078107c..d388410ad083 100644
--- a/filter/source/xsltdialog/xmlfilterjar.cxx
+++ b/filter/source/xsltdialog/xmlfilterjar.cxx
@@ -201,7 +201,7 @@ bool XMLFilterJarHelper::savePackage( const OUString& rPackageURL, const std::ve
 
             {
                 osl::File aOutputFile( aTempFileURL );
-                /* osl::File::RC rc = */ aOutputFile.open( osl_File_OpenFlag_Write );
+                (void)aOutputFile.open(osl_File_OpenFlag_Write);
                 Reference< XOutputStream > xOS( new OSLOutputStreamWrapper( aOutputFile ) );
 
                 TypeDetectionExporter aExporter( mxContext );


More information about the Libreoffice-commits mailing list