vcl: use auto delegate for X11SalGraphics and remove duplicates

Desktop / LibreOffice - Tomaž Vajngerl [collabora.co.uk] - 12 April 2022 06:25 UTC

X11SalGraphics can derive from SalGraphicsAutoDelegateToImpl to remove many calls to the mxImpl, which can instead be done by the auto delegator.

Change-Id: I7add2e824eb1be01f8d278e5af8a378a34b32671 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132826

6790220e010f vcl: use auto delegate for X11SalGraphics and remove duplicates
vcl/inc/unx/salgdi.h | 109 ++---------------------------------
vcl/unx/generic/gdi/salgdi.cxx | 122 ++++------------------------------------
vcl/unx/generic/gdi/salgdi2.cxx | 98 --------------------------------
3 files changed, 15 insertions(+), 314 deletions(-)

Upstream: cgit.freedesktop.org


  • Share