From 605dc6596a282297cac8e85aa2bbb59477cc27fd Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 5 Oct 2014 13:16:21 -0500 Subject: coverity#1208996 Unchecked return value Change-Id: I02e79ddeefa3961ab7adeb71fbc57bfd0cbe02a8 --- vcl/source/gdi/virdev.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source') 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 ); -- cgit