summaryrefslogtreecommitdiff
path: root/vcl/inc/unx/salgdi.h
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-27 18:53:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-27 20:52:52 +0100
commit49e37a1c3d192c9c5d03972c25f802aeb01c668e (patch)
treec82a7155825625b4a473f494937736b71bc63701 /vcl/inc/unx/salgdi.h
parentdcb31718a238f115f703f1088ba5220e620dec1c (diff)
loplugin:finalclasses in vcl
Change-Id: If22569a1b7d53fc1b5b87f7ec7d262ebb260e798 Reviewed-on: https://gerrit.libreoffice.org/83933 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/unx/salgdi.h')
-rw-r--r--vcl/inc/unx/salgdi.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h
index b6a477d20713..111702c1881e 100644
--- a/vcl/inc/unx/salgdi.h
+++ b/vcl/inc/unx/salgdi.h
@@ -65,7 +65,7 @@ namespace basegfx {
class B2DTrapezoid;
}
-class X11SalGraphics : public SalGraphics
+class X11SalGraphics final : public SalGraphics
{
friend class X11SalGraphicsImpl;
friend class X11OpenGLSalGraphicsImpl;
@@ -281,7 +281,7 @@ public:
static void releaseCairoContext(cairo_t* cr);
-protected:
+private:
using SalGraphics::SetClipRegion;
void SetClipRegion( GC pGC, Region pXReg = nullptr ) const;
bool GetDitherPixmap ( Color nColor );
@@ -290,7 +290,6 @@ protected:
void freeResources();
-protected:
SalFrame* m_pFrame; // the SalFrame which created this Graphics or NULL
SalVirtualDevice* m_pVDev; // the SalVirtualDevice which created this Graphics or NULL