summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-10-05 13:16:21 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-10-05 13:26:11 -0500
commit605dc6596a282297cac8e85aa2bbb59477cc27fd (patch)
tree3be27eaa5f4ea26b0e0e58df082708d410d7bced
parent39c8834d21488d596b1e609402320ad24133c21d (diff)
coverity#1208996 Unchecked return value
Change-Id: I02e79ddeefa3961ab7adeb71fbc57bfd0cbe02a8
-rw-r--r--vcl/source/gdi/virdev.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index 5e218c93aedd..bfd57164abbd 100644
--- a/vcl/source/gdi/virdev.cxx
+++ b/vcl/source/gdi/virdev.cxx
@@ -144,7 +144,7 @@ void VirtualDevice::ImplInitVirDev( const OutputDevice* pOutDev,
SalGraphics* pGraphics;
if ( !pOutDev->mpGraphics )
- pOutDev->AcquireGraphics();
+ (void)pOutDev->AcquireGraphics();
pGraphics = pOutDev->mpGraphics;
if ( pGraphics )
mpVirDev = pSVData->mpDefInst->CreateVirtualDevice( pGraphics, nDX, nDY, nBitCount, pData );