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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 8 11:24:49 UTC 2021


 sc/source/filter/excel/xiescher.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1e56a952cecabcaa04fa442c7891ca67e9d4601a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jun 8 09:14:53 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jun 8 13:24:11 2021 +0200

    cid#1485887 Unchecked return value
    
    Change-Id: Ie7cf188ef4aa72ea5266b0925363c904b4a7812c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116814
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index 8afe83370ceb..c928ac37cf29 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -740,7 +740,7 @@ void XclImpDrawObjBase::ConvertFillStyle( SdrObject& rSdrObj, const XclObjFillDa
                 aMemStrm.WriteUInt32( pnPattern[ nIdx ] ); // 32-bit little-endian
             aMemStrm.Seek( STREAM_SEEK_TO_BEGIN );
             Bitmap aBitmap;
-            ReadDIB(aBitmap, aMemStrm, false);
+            (void)ReadDIB(aBitmap, aMemStrm, false);
 
             XOBitmap aXOBitmap(( BitmapEx(aBitmap) ));
             aXOBitmap.Bitmap2Array();


More information about the Libreoffice-commits mailing list