diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-04-08 08:55:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-04-08 10:58:32 +0200 |
commit | f2053a6accc2e68aa2920d4d3f46f82909415666 (patch) | |
tree | bc6171466551bdaf8b25c700eb07799953bd523c /vcl/source/bitmap/bitmap.cxx | |
parent | 6c7245e789f973cf6dad03f7008ab3f9d12d350c (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/bitmap/bitmap.cxx')
-rw-r--r-- | vcl/source/bitmap/bitmap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |