vcl/source/bitmap/bitmap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f2053a6accc2e68aa2920d4d3f46f82909415666
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Apr 8 08:55:48 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Apr 8 10:58:32 2020 +0200

    cid#1461385 silence Unchecked return value
    
    Change-Id: Idd29bd22e86ebec243bb6d9a89f0230d034892f8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91871
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/source/bitmap/bitmap.cxx b/vcl/source/bitmap/bitmap.cxx
index af559769836c..dacb0df3d3c4 100644
--- a/vcl/source/bitmap/bitmap.cxx
+++ b/vcl/source/bitmap/bitmap.cxx
@@ -326,7 +326,7 @@ void Bitmap::ImplMakeUnique()
     {
         std::shared_ptr<SalBitmap> xOldImpBmp = mxSalBmp;
         mxSalBmp = ImplGetSVData()->mpDefInst->CreateSalBitmap();
-        mxSalBmp->Create(*xOldImpBmp);
+        (void)mxSalBmp->Create(*xOldImpBmp);
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to