summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-01-10 09:35:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-01-10 19:56:59 +0000
commit4a050ed9e8f5fc0a6df35adfcda5698af1e81d47 (patch)
tree5edd2940c196c1c57b8e3c90aea36b745934aa21 /vcl
parentcb4cdde132839a232d152b701a147188de8ffc76 (diff)
mpMonoGC is unused
since: commit 837f171810a95a1d87907dd08d67e969276f0559 Date: Thu Oct 1 14:20:31 2015 +0200 loplugin:unusedmethods in vcl mpMaskGC is also unused. Change-Id: I4885dacfa1caf31d9943e36881900291ef3e5560 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145257 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/gdi/gdiimpl.cxx4
-rw-r--r--vcl/unx/generic/gdi/gdiimpl.hxx2
2 files changed, 0 insertions, 6 deletions
diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx
index 3e2b520bd904..3e4256184674 100644
--- a/vcl/unx/generic/gdi/gdiimpl.cxx
+++ b/vcl/unx/generic/gdi/gdiimpl.cxx
@@ -110,9 +110,7 @@ X11SalGraphicsImpl::X11SalGraphicsImpl(X11SalGraphics& rParent):
mpPenGC(nullptr),
moPenColor( std::in_place, 0x00, 0x00, 0x00 ),
mnPenPixel(0),
- mpMonoGC(nullptr),
mpCopyGC(nullptr),
- mpMaskGC(nullptr),
mpInvertGC(nullptr),
mpStippleGC(nullptr)
{
@@ -168,9 +166,7 @@ void X11SalGraphicsImpl::freeResources()
freeGC( pDisplay, mpPenGC );
freeGC( pDisplay, mpBrushGC );
- freeGC( pDisplay, mpMonoGC );
freeGC( pDisplay, mpCopyGC );
- freeGC( pDisplay, mpMaskGC );
freeGC( pDisplay, mpInvertGC );
freeGC( pDisplay, mpStippleGC );
mbTrackingGC = mbPenGC = mbBrushGC = mbCopyGC = mbInvertGC = mbInvert50GC = mbStippleGC = false;
diff --git a/vcl/unx/generic/gdi/gdiimpl.hxx b/vcl/unx/generic/gdi/gdiimpl.hxx
index 1c7689b641f0..73bf4813ee42 100644
--- a/vcl/unx/generic/gdi/gdiimpl.hxx
+++ b/vcl/unx/generic/gdi/gdiimpl.hxx
@@ -64,9 +64,7 @@ private:
Pixel mnPenPixel;
- GC mpMonoGC;
GC mpCopyGC;
- GC mpMaskGC;
GC mpInvertGC;
GC mpStippleGC;