summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-20 14:08:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-20 14:37:38 +0100
commit73de019c0b1ac82229f7c5cff84deea39ad78a18 (patch)
treef9b805d3ede88b22429b6ef4ca66c6d63c54f3c7 /vcl/source/window
parent01702f7d5f52b72a890f6a0173d42199c587e01f (diff)
loplugin:unusedfields
Change-Id: If130c8a4861998d7eafd2e9525592f3c811ec21c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87069 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/toolbox.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 4b0d02493448..8db0cb65d6e8 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -2651,7 +2651,6 @@ void ToolBox::ImplDrawItem(vcl::RenderContext& rRenderContext, ImplToolItems::si
if ( bImage )
{
const Image* pImage = &(pItem->maImage);
- const Image& rOverlayImage = pItem->maOverlayImage;
aImageSize = pImage->GetSizePixel();
// determine drawing flags
@@ -2696,8 +2695,6 @@ void ToolBox::ImplDrawItem(vcl::RenderContext& rRenderContext, ImplToolItems::si
}
}
rRenderContext.DrawImage(Point( nImageOffX, nImageOffY ), *pImage, nImageStyle);
- if (!!rOverlayImage)
- rRenderContext.DrawImage(Point( nImageOffX, nImageOffY ), rOverlayImage, nImageStyle);
}
// draw the text