summaryrefslogtreecommitdiff
path: root/vcl/source/bitmap/bitmap.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-08 08:55:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-04-08 10:58:32 +0200
commitf2053a6accc2e68aa2920d4d3f46f82909415666 (patch)
treebc6171466551bdaf8b25c700eb07799953bd523c /vcl/source/bitmap/bitmap.cxx
parent6c7245e789f973cf6dad03f7008ab3f9d12d350c (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.cxx2
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);
}
}