diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-11-18 19:49:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-19 16:55:43 +0100 |
commit | f1ab6d3e046c261ac0cc0de35bed3e61ba052dca (patch) | |
tree | cf57fd9585ca5b1a31e30a929e84ead2ce3d4ffb /vcl/skia/x11/gdiimpl.cxx | |
parent | 256463f132597b257cde0b2e3506757b785e4b08 (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/skia/x11/gdiimpl.cxx')
-rw-r--r-- | vcl/skia/x11/gdiimpl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/skia/x11/gdiimpl.cxx b/vcl/skia/x11/gdiimpl.cxx index ffad26bd9b1f..34df45fa7d09 100644 --- a/vcl/skia/x11/gdiimpl.cxx +++ b/vcl/skia/x11/gdiimpl.cxx @@ -35,11 +35,10 @@ X11SkiaSalGraphicsImpl::X11SkiaSalGraphicsImpl(X11SalGraphics& rParent) { } -void X11SkiaSalGraphicsImpl::Init() +void X11SkiaSalGraphicsImpl::UpdateX11GeometryProvider() { // The m_pFrame and m_pVDev pointers are updated late in X11 setProvider(mX11Parent.GetGeometryProvider()); - SkiaSalGraphicsImpl::Init(); } void X11SkiaSalGraphicsImpl::createWindowSurfaceInternal(bool forceRaster) |