summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-12-22 08:52:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-12-22 12:46:47 +0100
commit091e711b44874481e2701526191bdb2c4c1bd2df (patch)
tree07c5496cb15fd74c9291de8afaa7017a1c386344 /canvas
parent60d7796624f1c56eb036d3e73d7f8a8216cce2a4 (diff)
loplugin:unusedvariablecheck
Change-Id: I02b42dc4a825e01363e36d6a82f78519e2c6dfe7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127294 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_vcltools.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx
index 912adf8b0af2..1544ec916609 100644
--- a/canvas/source/directx/dx_vcltools.cxx
+++ b/canvas/source/directx/dx_vcltools.cxx
@@ -66,7 +66,6 @@ namespace dxcanvas::tools
const void* hDIB )
{
bool bRet( false );
- BitmapSharedPtr pBitmap;
const BITMAPINFO* pBI = static_cast<BITMAPINFO*>(GlobalLock( const_cast<void *>(hDIB) ));