diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-08-12 16:08:50 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-08-23 14:59:25 +0200 |
commit | 09b16f9f44578182306c47cdabe92a31cc5d3b4c (patch) | |
tree | 8dc5af22989d538e119d8d59dc1d87736a71b858 /vcl/quartz | |
parent | 13acc8a5df8db5fa24d72c1d44b35e41e4ca2a7c (diff) |
make SalGeometryProvider available for Aqua VCL backends
This is needed for the Skia backend to know the geometry.
The Mac Skia code now passes most VCL unittests.
Change-Id: I6e35764d95ce821d8e11ed9979e5be75bcf6ff49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120806
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/salvd.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/quartz/salvd.cxx b/vcl/quartz/salvd.cxx index 4e84e33a13b5..7cd82fbcbb96 100644 --- a/vcl/quartz/salvd.cxx +++ b/vcl/quartz/salvd.cxx @@ -103,7 +103,7 @@ AquaSalVirtualDevice::AquaSalVirtualDevice( nDY = 0; } - mpGraphics->SetVirDevGraphics(maLayer, pData->rCGContext); + mpGraphics->SetVirDevGraphics(this, maLayer, pData->rCGContext); SAL_INFO("vcl.virdev", "AquaSalVirtualDevice::AquaSalVirtualDevice() this=" << this << " (" << nDX << "x" << nDY << ") mbForeignContext=" << (mbForeignContext ? "YES" : "NO")); @@ -151,7 +151,7 @@ AquaSalVirtualDevice::~AquaSalVirtualDevice() if( mpGraphics ) { - mpGraphics->SetVirDevGraphics( nullptr, nullptr ); + mpGraphics->SetVirDevGraphics( this, nullptr, nullptr ); delete mpGraphics; mpGraphics = nullptr; } |