summaryrefslogtreecommitdiff
path: root/vcl/inc/skia
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-11-18 19:49:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-19 16:55:43 +0100
commitf1ab6d3e046c261ac0cc0de35bed3e61ba052dca (patch)
treecf57fd9585ca5b1a31e30a929e84ead2ce3d4ffb /vcl/inc/skia
parent256463f132597b257cde0b2e3506757b785e4b08 (diff)
Simplify SalGraphicsImpl::Init
it is only used for one thing, so rename it, and use a default implementation to avoid having empty implementations everywhere Change-Id: Ib650bb520ccbfcc27537b754db4d3de4ad10e638 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176733 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/skia')
-rw-r--r--vcl/inc/skia/gdiimpl.hxx2
-rw-r--r--vcl/inc/skia/x11/gdiimpl.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/vcl/inc/skia/gdiimpl.hxx b/vcl/inc/skia/gdiimpl.hxx
index 88d066aaafdb..7fad579d0db2 100644
--- a/vcl/inc/skia/gdiimpl.hxx
+++ b/vcl/inc/skia/gdiimpl.hxx
@@ -41,8 +41,6 @@ public:
SkiaSalGraphicsImpl(SalGraphics& pParent, SalGeometryProvider* pProvider);
virtual ~SkiaSalGraphicsImpl() override;
- virtual void Init() override;
-
virtual void DeInit() override;
virtual OUString getRenderBackendName() const override { return u"skia"_ustr; }
diff --git a/vcl/inc/skia/x11/gdiimpl.hxx b/vcl/inc/skia/x11/gdiimpl.hxx
index 835f565e9c36..990c3d60b64a 100644
--- a/vcl/inc/skia/x11/gdiimpl.hxx
+++ b/vcl/inc/skia/x11/gdiimpl.hxx
@@ -24,7 +24,7 @@ private:
public:
X11SkiaSalGraphicsImpl(X11SalGraphics& rParent);
- virtual void Init() override;
+ virtual void UpdateX11GeometryProvider() override;
virtual void Flush() override;
static void prepareSkia();